MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / clear

Method clear

codeclash/viewer/app.py:143–146  ·  view source on GitHub ↗

Clear all cache entries

(self)

Source from the content-addressed store, hash-verified

141 del self._cache[key]
142
143 def clear(self):
144 """Clear all cache entries"""
145 with self._cache_lock:
146 self._cache.clear()
147
148 def _get_compute_lock(self, key: str) -> threading.Lock:
149 """Get or create a lock for a specific cache key"""

Callers 2

clearFiltersFunction · 0.80
clearModelSelectionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected