Current working directory.
interface
fs.GlobOptionsWithoutFileTypes
interface GlobOptionsWithoutFileTypes
- exclude?: readonly string[] | (fileName: 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.