MCPcopy Index your code
hub / github.com/github/awesome-copilot / _save

Function _save

skills/mini-context-graph/scripts/tools/graph_store.py:32–35  ·  view source on GitHub ↗
(graph: dict)

Source from the content-addressed store, hash-verified

30
31
32def _save(graph: dict) -> None:
33 _DATA_DIR.mkdir(parents=True, exist_ok=True)
34 with open(_GRAPH_FILE, "w") as f:
35 json.dump(graph, f, indent=2)
36
37
38def add_node(

Callers 3

add_nodeFunction · 0.70
add_edgeFunction · 0.70
link_node_to_sourceFunction · 0.70

Calls 1

openFunction · 0.50

Tested by

no test coverage detected