aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@electron/get/dist/esm/Cache.d.ts
blob: a6adc32e73144d40523ba962fc691841ff68859c (plain)
1
2
3
4
5
6
7
export declare class Cache {
    private cacheRoot;
    constructor(cacheRoot?: string);
    getCachePath(downloadUrl: string, fileName: string): string;
    getPathForFileInCache(url: string, fileName: string): Promise<string | null>;
    putFileInCache(url: string, currentPath: string, fileName: string): Promise<string>;
}