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