Invalidate the cache by deleting the cache file. Forces the next check to return True (needs update).
(self)
| 497 | ) |
| 498 | |
| 499 | def invalidate(self) -> None: |
| 500 | """ |
| 501 | Invalidate the cache by deleting the cache file. |
| 502 | |
| 503 | Forces the next check to return True (needs update). |
| 504 | """ |
| 505 | _run_zccache( |
| 506 | ["--cache-file", str(self.cache_file), "invalidate"], |
| 507 | check=True, |
| 508 | ) |
| 509 | |
| 510 | def get_cache_info(self) -> dict[str, int | bool | str] | None: |
| 511 | """ |