mirror of
https://github.com/actions/setup-python.git
synced 2025-07-26 03:48:20 +02:00
Add generated .d.ts and .d.ts.map files
This commit is contained in:
parent
6ae21f0d45
commit
1173a1039c
44 changed files with 416 additions and 0 deletions
19
dist/setup/cache-distributions/cache-distributor.d.ts
vendored
Normal file
19
dist/setup/cache-distributions/cache-distributor.d.ts
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
export declare enum State {
|
||||
STATE_CACHE_PRIMARY_KEY = 'cache-primary-key',
|
||||
CACHE_MATCHED_KEY = 'cache-matched-key',
|
||||
CACHE_PATHS = 'cache-paths'
|
||||
}
|
||||
declare abstract class CacheDistributor {
|
||||
protected packageManager: string;
|
||||
protected cacheDependencyPath: string;
|
||||
protected CACHE_KEY_PREFIX: string;
|
||||
constructor(packageManager: string, cacheDependencyPath: string);
|
||||
protected abstract getCacheGlobalDirectories(): Promise<string[]>;
|
||||
protected abstract computeKeys(): Promise<{
|
||||
primaryKey: string;
|
||||
restoreKey: string[] | undefined;
|
||||
}>;
|
||||
restoreCache(): Promise<void>;
|
||||
}
|
||||
export default CacheDistributor;
|
||||
//# sourceMappingURL=cache-distributor.d.ts.map
|
Loading…
Add table
Add a link
Reference in a new issue