Interface ExpandGlobOptions

Options for expandGlob and expandGlobSync.

interface ExpandGlobOptions {
    canonicalize?: boolean;
    exclude?: string[];
    followSymlinks?: boolean;
    includeDirs?: boolean;
    root?: string;
}
Hierarchy

Properties

canonicalize?: boolean

Indicates whether the followed symlink's path should be canonicalized. This option works only if followSymlinks is not false.

{true}
exclude?: string[]

List of glob patterns to be excluded from the expansion.

{[]}
followSymlinks?: boolean

Whether to follow symbolic links.

{false}
includeDirs?: boolean

Whether to include directories in entries.

{true}
root?: string

File path where to expand from.

{Deno.cwd()}