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

Function _load

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

Source from the content-addressed store, hash-verified

23
24
25def _load() -> dict:
26 if _GRAPH_FILE.exists():
27 with open(_GRAPH_FILE, "r") as f:
28 return json.load(f)
29 return {"nodes": {}, "edges": []}
30
31
32def _save(graph: dict) -> None:

Callers 8

add_nodeFunction · 0.70
add_edgeFunction · 0.70
get_neighborsFunction · 0.70
get_nodeFunction · 0.70
get_subgraphFunction · 0.70
find_node_by_nameFunction · 0.70
link_node_to_sourceFunction · 0.70
get_node_sourcesFunction · 0.70

Calls 1

openFunction · 0.50

Tested by

no test coverage detected