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

Method clear

ci/iwyu_cache.py:181–188  ·  view source on GitHub ↗

Clear all cached results.

(self)

Source from the content-addressed store, hash-verified

179 self._save()
180
181 def clear(self) -> None:
182 """Clear all cached results."""
183 self._data = {}
184 try:
185 if _CACHE_FILE.exists():
186 _CACHE_FILE.unlink()
187 except OSError:
188 pass
189
190 @property
191 def hits(self) -> int:

Callers 2

mainFunction · 0.95

Calls 1

unlinkMethod · 0.80

Tested by

no test coverage detected