3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2026-03-04 07:40:24 +00:00

remove invalidation

This commit is contained in:
Jonathan Kelley 2025-01-28 21:58:20 -08:00
parent 07fbca13c8
commit b37d2821f8
No known key found for this signature in database
GPG key ID: 1FBB50F7EB0A08BE
7 changed files with 135 additions and 222 deletions

View file

@ -7,12 +7,6 @@ import path from "path";
import { exists } from "./utils";
// import { Packages } from "./workspace";
let incremental_missing = false;
export function isIncrementalMissing(): boolean {
return incremental_missing;
}
export async function restoreIncremental(targetDir: string) {
core.debug(`restoring incremental directory "${targetDir}"`);
@ -52,6 +46,5 @@ async function restoreIncrementalProfile(dirName: string) {
}
} else {
core.debug(`incremental-restore.json not found for ${dirName}`);
incremental_missing = true;
}
}