PathScurryOpts | path-scurry (original) (raw)
Options that may be provided to the PathScurry constructor
Hierarchy
- PathScurryOpts
Index
Properties
Optional
childrenCacheSize
childrenCacheSize?: number
Number of Path entries to keep in the cache of Path child references.
Setting this higher than 65536 will dramatically increase the data consumption and construction time overhead of each PathScurry.
Setting this value to 256 or lower will significantly reduce the data consumption and construction time overhead, but may also reduce resolve() and readdir() performance on large filesystems.
Default 16384
.
Optional
fs
An object that overrides the built-in functions from the fs and fs/promises modules.
See FSOption
Optional
nocase
nocase?: boolean
perform case-insensitive path matching. Default based on platform subclass.