Searches a directory recursively for files that match the specified pattern. The filenamePattern is a simple text string with asterisks (*) for wildcards.
The directory to find files in
The pattern to match files against
Optional
Specify a max depth to search, defaults to 5
A Promise that resolves to an array of file paths that match the pattern
Searches a directory recursively for files that match the specified pattern. The filenamePattern is a simple text string with asterisks (*) for wildcards.