Files
spotify-gui-electron/node_modules/@electron/get/dist/cjs/Cache.d.ts
2025-04-08 14:15:57 -07:00

9 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>;
}