ignore.d.ts 500 B

123456789101112131415
  1. import { Minimatch } from 'minimatch';
  2. import { Path } from 'path-scurry';
  3. import { GlobWalkerOpts } from './walker.js';
  4. /**
  5. * Class used to process ignored patterns
  6. */
  7. export declare class Ignore {
  8. relative: Minimatch[];
  9. relativeChildren: Minimatch[];
  10. absolute: Minimatch[];
  11. absoluteChildren: Minimatch[];
  12. constructor(ignored: string[], { nobrace, nocase, noext, noglobstar, platform, }: GlobWalkerOpts);
  13. ignored(p: Path): boolean;
  14. childrenIgnored(p: Path): boolean;
  15. }