summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/glob/dist/mjs/ignore.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/glob/dist/mjs/ignore.d.ts')
-rw-r--r--deps/npm/node_modules/glob/dist/mjs/ignore.d.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/deps/npm/node_modules/glob/dist/mjs/ignore.d.ts b/deps/npm/node_modules/glob/dist/mjs/ignore.d.ts
new file mode 100644
index 0000000000..e9d74f3b5e
--- /dev/null
+++ b/deps/npm/node_modules/glob/dist/mjs/ignore.d.ts
@@ -0,0 +1,20 @@
+import { Minimatch } from 'minimatch';
+import { Path } from 'path-scurry';
+import { GlobWalkerOpts } from './walker.js';
+export interface IgnoreLike {
+ ignored?: (p: Path) => boolean;
+ childrenIgnored?: (p: Path) => boolean;
+}
+/**
+ * Class used to process ignored patterns
+ */
+export declare class Ignore implements IgnoreLike {
+ relative: Minimatch[];
+ relativeChildren: Minimatch[];
+ absolute: Minimatch[];
+ absoluteChildren: Minimatch[];
+ constructor(ignored: string[], { nobrace, nocase, noext, noglobstar, platform, }: GlobWalkerOpts);
+ ignored(p: Path): boolean;
+ childrenIgnored(p: Path): boolean;
+}
+//# sourceMappingURL=ignore.d.ts.map \ No newline at end of file