CityBEM-CityLayers-SaeedRay.../node_modules/@electron/get/dist/esm/Cache.d.ts

9 lines
386 B
TypeScript
Raw Normal View History

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