MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _build

Function _build

tests/test_affected_path_file_node.py:163–170  ·  view source on GitHub ↗
(root: Path)

Source from the content-addressed store, hash-verified

161
162
163def _build(root: Path) -> dict:
164 result = _run_graphify(
165 ["update", str(root), "--force", "--no-cluster"], cwd=root
166 )
167 assert result.returncode == 0, result.stderr[-2000:]
168 return json.loads(
169 (root / "graphify-out" / "graph.json").read_text(encoding="utf-8")
170 )
171
172
173def _file_node_id(graph: dict, source_file: str) -> str:

Calls 1

_run_graphifyFunction · 0.85

Tested by

no test coverage detected