diffjam
Version:
cli for diffjam.com
12 lines (11 loc) • 338 B
TypeScript
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[];