UNPKG

diffjam

Version:
12 lines (11 loc) 338 B
export declare class GitIgnore { gitIgnoreFileName: string; ready: Promise<void>; patterns: undefined | { positive: string[]; include: string[]; }; constructor(gitIgnoreFileName?: string); isIgnored(file: string): boolean; } export declare function gitIgnoreToGlob(fileContents: string): string[];