← Back to index
interface WalkOptions

Properties

🔗
maxDepth: number = Infinity

The maximum depth of the file tree to be walked recursively.

🔗
includeFiles: boolean = true

Indicates whether file entries should be included or not.

🔗
includeDirs: boolean = true

Indicates whether directory entries should be included or not.

🔗
canonicalize: boolean = true

Indicates whether the followed symlink's path should be canonicalized. This option works only if followSymlinks is not false.

🔗
exts: string[] = undefined

List of file extensions used to filter entries. If specified, entries without the file extension specified by this option are excluded.

🔗
match: RegExp[] = undefined

List of regular expression patterns used to filter entries. If specified, entries that do not match the patterns specified by this option are excluded.

🔗
skip: RegExp[] = undefined

List of regular expression patterns used to filter entries. If specified, entries matching the patterns specified by this option are excluded.

Properties

🔗
maxDepth: number = Infinity

The maximum depth of the file tree to be walked recursively.

🔗
includeFiles: boolean = true

Indicates whether file entries should be included or not.

🔗
includeDirs: boolean = true

Indicates whether directory entries should be included or not.

🔗
canonicalize: boolean = true

Indicates whether the followed symlink's path should be canonicalized. This option works only if followSymlinks is not false.

🔗
exts: string[] = undefined

List of file extensions used to filter entries. If specified, entries without the file extension specified by this option are excluded.

🔗
match: RegExp[] = undefined

List of regular expression patterns used to filter entries. If specified, entries that do not match the patterns specified by this option are excluded.

🔗
skip: RegExp[] = undefined

List of regular expression patterns used to filter entries. If specified, entries matching the patterns specified by this option are excluded.