Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface ExpandGlobOptions
implements Omit<GlobOptions, "os">
import { type ExpandGlobOptions } from "https://deno.land/std@0.220.1/fs/expand_glob.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.