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

Method get_node

code_review_graph/graph.py:326–330  ·  view source on GitHub ↗
(self, qualified_name: str)

Source from the content-addressed store, hash-verified

324 # --- Read operations ---
325
326 def get_node(self, qualified_name: str) -> Optional[GraphNode]:
327 row = self._conn.execute(
328 "SELECT * FROM nodes WHERE qualified_name = ?", (qualified_name,)
329 ).fetchone()
330 return self._row_to_node(row) if row else None
331
332 def get_nodes_by_file(self, file_path: str) -> list[GraphNode]:
333 rows = self._conn.execute(

Calls 1

_row_to_nodeMethod · 0.95