diff options
Diffstat (limited to 'node_modules/@electron/get/dist/cjs/Cache.d.ts')
| -rw-r--r-- | node_modules/@electron/get/dist/cjs/Cache.d.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/node_modules/@electron/get/dist/cjs/Cache.d.ts b/node_modules/@electron/get/dist/cjs/Cache.d.ts new file mode 100644 index 0000000..a6adc32 --- /dev/null +++ b/node_modules/@electron/get/dist/cjs/Cache.d.ts @@ -0,0 +1,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>; +} |
