@abextm/cache2
Version:
Utilities for reading OSRS "caches"
9 lines • 396 B
TypeScript
import { CacheProvider, FileProvider } from "../Cache.js";
export declare class NodeFSFileProvider implements FileProvider {
private path;
constructor(path: string);
getFile(name: string): Promise<Uint8Array | undefined>;
exists(name: string): Promise<boolean>;
}
export declare function loadCache(filePath: string): Promise<CacheProvider>;
//# sourceMappingURL=loadCache.d.ts.map