Skip to main content
Module

std/fs/mod.ts>ExpandGlobOptions

Deno standard library
Go to Latest
interface ExpandGlobOptions
implements Omit<GlobOptions, "os">
import { type ExpandGlobOptions } from "https://deno.land/std@0.221.0/fs/mod.ts";

Options for expandGlob and expandGlobSync.

Properties

optional
root: string

File path where to expand from.

optional
exclude: string[]

List of glob patterns to be excluded from the expansion.

optional
includeDirs: boolean = true

Whether to include directories in entries.

optional
canonicalize: boolean = true

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