MCPcopy Index your code
hub / github.com/tirth8205/code-review-graph / remove_node

Method remove_node

code_review_graph/embeddings.py:963–967  ·  view source on GitHub ↗
(self, qualified_name: str)

Source from the content-addressed store, hash-verified

961 return scored[:limit]
962
963 def remove_node(self, qualified_name: str) -> None:
964 self._conn.execute(
965 "DELETE FROM embeddings WHERE qualified_name = ?", (qualified_name,)
966 )
967 self._conn.commit()
968
969 def count(self) -> int:
970 return self._conn.execute("SELECT COUNT(*) FROM embeddings").fetchone()[0]

Callers 1

test_remove_nodeMethod · 0.95

Calls 1

commitMethod · 0.80

Tested by 1

test_remove_nodeMethod · 0.76