UNPKG

356 BTypeScriptView Raw
1import { IGraphite } from '../types';
2export interface IPathsMatcher {
3 cwd: string;
4 chopCwd(uri: string): string;
5 isUriIgnored(uri: string): boolean;
6 isUriReadable(uri: string): boolean;
7 isUriInGroup(uri: string, group: RegExp[]): boolean;
8}
9export declare const createPathsMatcher: (graphite: IGraphite, cwd: string) => IPathsMatcher;