3
0
Fork 0
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:
Jonathan Kelley 2025-01-28 20:19:58 -08:00
parent 36c8b73442
commit 2de18fd6ad
No known key found for this signature in database
GPG key ID: 1FBB50F7EB0A08BE

View file

@ -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;