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

Method clear_cache

ci/fingerprint/core.py:295–299  ·  view source on GitHub ↗

Clear all cache entries and remove cache file.

(self)

Source from the content-addressed store, hash-verified

293 self._save_cache()
294
295 def clear_cache(self) -> None:
296 """Clear all cache entries and remove cache file."""
297 self.cache.clear()
298 if self.cache_file.exists():
299 self.cache_file.unlink()
300
301
302@dataclass(slots=True)

Callers 1

test_clear_cacheMethod · 0.95

Calls 2

unlinkMethod · 0.80
clearMethod · 0.45

Tested by 1

test_clear_cacheMethod · 0.76