From ae187b6d75c8079da0be1dc288613bad8466fe61 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Tue, 24 Oct 2023 17:43:37 +0200 Subject: Initial commit --- desktop/node_modules/@electron/get/dist/esm/Cache.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 desktop/node_modules/@electron/get/dist/esm/Cache.d.ts (limited to 'desktop/node_modules/@electron/get/dist/esm/Cache.d.ts') diff --git a/desktop/node_modules/@electron/get/dist/esm/Cache.d.ts b/desktop/node_modules/@electron/get/dist/esm/Cache.d.ts new file mode 100644 index 0000000..626001a --- /dev/null +++ b/desktop/node_modules/@electron/get/dist/esm/Cache.d.ts @@ -0,0 +1,8 @@ +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; + putFileInCache(url: string, currentPath: string, fileName: string): Promise; +} -- cgit