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

Function _write_graph

tests/test_tree_html.py:44–48  ·  view source on GitHub ↗
(tmp_path: Path, graph: dict)

Source from the content-addressed store, hash-verified

42
43
44def _write_graph(tmp_path: Path, graph: dict) -> Path:
45 out = tmp_path / "graphify-out"
46 out.mkdir()
47 (out / "graph.json").write_text(json.dumps(graph), encoding="utf-8")
48 return out
49
50
51# ── build_tree unit tests ─────────────────────────────────────────────────────

Calls

no outgoing calls

Tested by

no test coverage detected