You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
536 B
14 lines
536 B
declare type CacheOptions = {
|
|
ABI: string;
|
|
arch: string;
|
|
debug: boolean;
|
|
electronVersion: string;
|
|
headerURL: string;
|
|
modulePath: string;
|
|
};
|
|
export declare const cacheModuleState: (dir: string, cachePath: string, key: string) => Promise<void>;
|
|
declare type ApplyDiffFunction = (dir: string) => Promise<void>;
|
|
export declare const lookupModuleState: (cachePath: string, key: string) => Promise<ApplyDiffFunction | boolean>;
|
|
export declare function generateCacheKey(opts: CacheOptions): Promise<string>;
|
|
export {};
|