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

Method invalidate

codeclash/viewer/app.py:137–141  ·  view source on GitHub ↗

Invalidate a specific cache entry

(self, key: str)

Source from the content-addressed store, hash-verified

135 self._cache[key] = CacheEntry(data=value, timestamp=datetime.now())
136
137 def invalidate(self, key: str):
138 """Invalidate a specific cache entry"""
139 with self._cache_lock:
140 if key in self._cache:
141 del self._cache[key]
142
143 def clear(self):
144 """Clear all cache entries"""

Callers 1

batch_api_jobsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected