Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
32
def
_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
38
def
add_node(
Callers
3
add_node
Function · 0.70
add_edge
Function · 0.70
link_node_to_source
Function · 0.70
Calls
1
open
Function · 0.50
Tested by
no test coverage detected