mirror of
				https://github.com/actions/cache.git
				synced 2025-11-01 04:28:39 +08:00 
			
		
		
		
	 b45d91cc4b
			
		
	
	
		b45d91cc4b
		
			
		
	
	
	
	
		
			
			* Initial pass at chunked upload apis * Fix cacheEntry type * Linting * Fix download cache entry tests * Linting tests * Pull in fixes from testing branch * Fix typo in ReserveCacheResponse * Add test convering reserve cache failure * Add retries to upload chunk * PR feedback * Format default chunk size * Remove responses array
		
			
				
	
	
		
			20 lines
		
	
	
		
			344 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			344 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| export interface ArtifactCacheEntry {
 | |
|     cacheKey?: string;
 | |
|     scope?: string;
 | |
|     creationTime?: string;
 | |
|     archiveLocation?: string;
 | |
| }
 | |
| 
 | |
| export interface CommitCacheRequest {
 | |
|     size: number;
 | |
| }
 | |
| 
 | |
| export interface ReserveCacheRequest {
 | |
|     key: string;
 | |
|     version?: string;
 | |
| }
 | |
| 
 | |
| export interface ReserveCacheResponse {
 | |
|     cacheId: number;
 | |
| }
 |