mirror of
https://github.com/Swatinem/rust-cache
synced 2025-08-18 02:42:18 +00:00
wip: add incremental mtime restore
This commit is contained in:
parent
f0deed1e0e
commit
3faf29c29b
6 changed files with 116 additions and 21 deletions
|
@ -34,6 +34,9 @@ export class CacheConfig {
|
|||
/** The cargo binaries present during main step */
|
||||
public cargoBins: Array<string> = [];
|
||||
|
||||
/** Whether to cache incremental builds */
|
||||
public incremental: boolean = false;
|
||||
|
||||
/** The prefix portion of the cache key */
|
||||
private keyPrefix = "";
|
||||
/** The rust version considered for the cache key */
|
||||
|
@ -43,7 +46,7 @@ export class CacheConfig {
|
|||
/** The files considered for the cache key */
|
||||
private keyFiles: Array<string> = [];
|
||||
|
||||
private constructor() {}
|
||||
private constructor() { }
|
||||
|
||||
/**
|
||||
* Constructs a [`CacheConfig`] with all the paths and keys.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue