ExpandGlobOptions

import { ExpandGlobOptions } from "jsr:@ende/fs";

interface

interface ExpandGlobOptions extends Omit<GlobOptions, "os">

Options for expandGlob and expandGlobSync.

Properties

root

root?: string

File path where to expand from.

Default: Ende.cwd()

exclude

exclude?: string[]

List of glob patterns to be excluded from the expansion.

Default: []

includeDirs

includeDirs?: boolean

Whether to include directories in entries.

Default: true

followSymlinks?: boolean

Whether to follow symbolic links.

Default: false

canonicalize

canonicalize?: boolean

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

Default: true

Source