knip
Version:
Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects
13 lines (12 loc) • 539 B
TypeScript
export declare const initGlobCache: (cacheLocation: string) => void;
export declare const isGlobCacheEnabled: () => boolean;
export declare const flushGlobCache: () => void;
export declare const clearGlobCache: () => void;
export declare const computeGlobCacheKey: (input: {
patterns: string[];
cwd: string;
dir: string;
gitignore: boolean;
}) => string;
export declare const getCachedGlob: (key: string) => string[] | undefined;
export declare const setCachedGlob: (key: string, paths: string[], baseDir: string) => void;