mirror of
https://github.com/Swatinem/rust-cache.git
synced 2025-08-14 12:45:11 +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…
x
Reference in New Issue
Block a user