@file-cache/core
Version:
A cache for file metadata or file content.
13 lines • 425 B
TypeScript
export declare const createFileCache: (cacheFilePath: string, mode: "content" | "metadata") => Promise<{
getFileDescriptor(filePath: string | URL): Promise<{
changed: boolean;
error?: undefined;
} | {
changed: boolean;
error: unknown;
}>;
delete(filePath: string): boolean;
clear(): void;
reconcile(): Promise<boolean>;
}>;
//# sourceMappingURL=createFileCache.d.ts.map