mirror of
https://github.com/Swatinem/rust-cache
synced 2026-03-04 07:40:24 +00:00
remove invalidation
This commit is contained in:
parent
07fbca13c8
commit
b37d2821f8
7 changed files with 135 additions and 222 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue