basant307/AI_Governance_Project
048
1import { Minimatch, MinimatchOptions } from 'minimatch';2import { Path } from 'path-scurry';3import { GlobWalkerOpts } from './walker.js';4export interface IgnoreLike {5 ignored?: (p: Path) => boolean;6 childrenIgnored?: (p: Path) => boolean;7 add?: (ignore: string) => void;8}9/**10 * Class used to process ignored patterns11 */12export 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