1 |
|
2 | import { Minimatch, MinimatchOptions } from 'minimatch';
|
3 | import { Path } from 'path-scurry';
|
4 | import { GlobWalkerOpts } from './walker.js';
|
5 | export interface IgnoreLike {
|
6 | ignored?: (p: Path) => boolean;
|
7 | childrenIgnored?: (p: Path) => boolean;
|
8 | add?: (ignore: string) => void;
|
9 | }
|
10 |
|
11 |
|
12 |
|
13 | export declare class Ignore implements IgnoreLike {
|
14 | relative: Minimatch[];
|
15 | relativeChildren: Minimatch[];
|
16 | absolute: Minimatch[];
|
17 | absoluteChildren: Minimatch[];
|
18 | platform: NodeJS.Platform;
|
19 | mmopts: MinimatchOptions;
|
20 | constructor(ignored: string[], { nobrace, nocase, noext, noglobstar, platform, }: GlobWalkerOpts);
|
21 | add(ign: string): void;
|
22 | ignored(p: Path): boolean;
|
23 | childrenIgnored(p: Path): boolean;
|
24 | }
|
25 | //# sourceMappingURL=ignore.d.ts.map |
\ | No newline at end of file |