Classes
Functions
Walks the file tree rooted at root, yielding each file or directory in the tree filtered according to the given options.
Interfaces
- path: string
Full path of the entry.
- canonicalize: boolean
Indicates whether the followed symlink's path should be canonicalized. This option works only if
followSymlinksis notfalse. - exts: string[]
List of file extensions used to filter entries. If specified, entries without the file extension specified by this option are excluded.
- followSymlinks: boolean
Indicates whether symlinks should be resolved or not.
- includeDirs: boolean
Indicates whether directory entries should be included or not.
- includeFiles: boolean
Indicates whether file entries should be included or not.
- includeSymlinks: boolean
Indicates whether symlink entries should be included or not. This option is meaningful only if
followSymlinksis set tofalse. - match: RegExp[]
List of regular expression patterns used to filter entries. If specified, entries that do not match the patterns specified by this option are excluded.
- maxDepth: number
The maximum depth of the file tree to be walked recursively.
- skip: RegExp[]
List of regular expression patterns used to filter entries. If specified, entries matching the patterns specified by this option are excluded.