mirror of
https://github.com/danbulant/arcade-machine
synced 2026-05-20 21:08:54 +00:00
8 lines
386 B
TypeScript
8 lines
386 B
TypeScript
export declare class Cache {
|
|
private cacheRoot;
|
|
constructor(cacheRoot?: string);
|
|
static getCacheDirectory(downloadUrl: string): string;
|
|
getCachePath(downloadUrl: string, fileName: string): string;
|
|
getPathForFileInCache(url: string, fileName: string): Promise<string | null>;
|
|
putFileInCache(url: string, currentPath: string, fileName: string): Promise<string>;
|
|
}
|