deno.com

interface _GlobOptions

Type Parameters #

#T extends Dirent | string

Properties #

#cwd: string | undefined
optional

Current working directory.

#withFileTypes: boolean | undefined
optional

true if the glob should return paths as Dirents, false otherwise.

#exclude:
((fileName: T) => boolean)
| readonly string[]
| undefined
optional

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.