mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-03-13 10:25:13 +00:00
25 lines
472 B
TypeScript
25 lines
472 B
TypeScript
import { CompressionMethod } from "./constants";
|
|
|
|
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;
|
|
}
|
|
|
|
export interface CacheOptions {
|
|
compressionMethod?: CompressionMethod;
|
|
}
|