mirror of
https://github.com/Swatinem/rust-cache
synced 2025-06-07 17:13:25 +00:00
tack on incremental for incremental caches
This commit is contained in:
parent
36c8b73442
commit
2de18fd6ad
1 changed files with 4 additions and 0 deletions
|
@ -251,6 +251,10 @@ export class CacheConfig {
|
||||||
keyFiles.push(...parsedKeyFiles);
|
keyFiles.push(...parsedKeyFiles);
|
||||||
self.keyFiles = sort_and_uniq(keyFiles);
|
self.keyFiles = sort_and_uniq(keyFiles);
|
||||||
|
|
||||||
|
if (self.incremental) {
|
||||||
|
key += `-incremental`;
|
||||||
|
}
|
||||||
|
|
||||||
key += `-${lockHash}`;
|
key += `-${lockHash}`;
|
||||||
self.cacheKey = key;
|
self.cacheKey = key;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue