MCPcopy
hub / github.com/tirth8205/code-review-graph / _invalidate_cache

Method _invalidate_cache

code_review_graph/graph.py:179–182  ·  view source on GitHub ↗

Invalidate the cached NetworkX graph after write operations.

(self)

Source from the content-addressed store, hash-verified

177 self._conn.commit()
178
179 def _invalidate_cache(self) -> None:
180 """Invalidate the cached NetworkX graph after write operations."""
181 with self._cache_lock:
182 self._nxg_cache = None
183
184 def close(self) -> None:
185 self._conn.close()

Callers 4

remove_file_dataMethod · 0.95
store_file_batchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected