Current working directory.
interface
fs._GlobOptions
interface _GlobOptions<T extends Dirent | string>
- exclude?: readonly string[] | (fileName: T) => boolean
Function to filter out files/directories or a list of glob patterns to be excluded. If a function is provided, return
trueto exclude the item,falseto 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.