MCPcopy Create free account
hub / github.com/FastLED/FastLED / invalidate

Method invalidate

ci/fingerprint/core.py:499–508  ·  view source on GitHub ↗

Invalidate the cache by deleting the cache file. Forces the next check to return True (needs update).

(self)

Source from the content-addressed store, hash-verified

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 """

Callers 2

test_invalidateMethod · 0.95

Calls 1

_run_zccacheFunction · 0.85

Tested by 2

test_invalidateMethod · 0.76