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

Function _write

tests/test_explain_same_file_tie.py:53–56  ·  view source on GitHub ↗
(tmp_path, reverse: bool = False)

Source from the content-addressed store, hash-verified

51
52
53def _write(tmp_path, reverse: bool = False):
54 p = tmp_path / ("graph_rev.json" if reverse else "graph.json")
55 p.write_text(json.dumps(_graph_data(reverse)))
56 return p
57
58
59def _explain(monkeypatch, capsys, graph_path, label):

Calls 1

_graph_dataFunction · 0.85

Tested by

no test coverage detected