Methods
(static) exports.lookupFiles(filepath, extensionsopt, recursiveopt) → {Array:.<string:>}
Filenames are returned in traversal order by the OS/filesystem.
Make no assumption that the names will be sorted in any fashion.
Parameters:
Throws:
if no files match pattern.
- Type
- Error
if
filepath
is directory andextensions
not provided.- Type
- TypeError
Returns:
An array of paths.