UNPKG

dax

Version:

Cross platform shell tools inspired by zx.

23 lines 860 B
export interface ExpandGlobOptions { /** Directory to resolve relative glob patterns against. */ root: string; /** Match path segments case-insensitively. */ caseInsensitive?: boolean; /** When true, `**` matches zero or more path segments. */ globstar?: boolean; /** When true, follow symlinks when descending and when matching. */ followSymlinks?: boolean; /** When true, directories that match are yielded in addition to files. */ includeDirs?: boolean; } export interface GlobEntry { path: string; } /** * Expands a glob pattern into matching filesystem entries. * * Segment conversion (`*`, `?`, `[...]`, and `**`) is delegated to * `@std/path/glob-to-regexp`. */ export declare function expandGlob(pattern: string, options: ExpandGlobOptions): AsyncGenerator<GlobEntry>; //# sourceMappingURL=glob.d.ts.map