mirror of
https://github.com/Swatinem/rust-cache
synced 2025-04-15 00:28:43 +00:00
tack on incremental for incremental caches
This commit is contained in:
parent
36c8b73442
commit
2de18fd6ad
|
@ -251,6 +251,10 @@ export class CacheConfig {
|
|||
keyFiles.push(...parsedKeyFiles);
|
||||
self.keyFiles = sort_and_uniq(keyFiles);
|
||||
|
||||
if (self.incremental) {
|
||||
key += `-incremental`;
|
||||
}
|
||||
|
||||
key += `-${lockHash}`;
|
||||
self.cacheKey = key;
|
||||
|
||||
|
|
Loading…
Reference in a new issue