Skip to main content
The Deno 2 Release Candidate is here
Learn more
interface fs.ExpandGlobOptions
implements Omit<GlobOptions, "os">
import { type fs } from "https://deno.land/x/assert_fs@v0.1.0/deps.ts";
const { ExpandGlobOptions } = fs;

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.