Current working directory.
interface
fs.GlobOptions
interface GlobOptions
- exclude?: readonly string[] | (fileName: string | Dirent<string>) => boolean
Function to filter out files/directories or a list of glob patterns to be excluded. If a function is provided, return
true
to exclude the item,false
to include it. If a string array is provided, each string should be a glob pattern that specifies paths to exclude. Note: Negation patterns (e.g., '!foo.js') are not supported.