Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
25
def
_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
32
def
_save(graph: dict) -> None:
Callers
8
add_node
Function · 0.70
add_edge
Function · 0.70
get_neighbors
Function · 0.70
get_node
Function · 0.70
get_subgraph
Function · 0.70
find_node_by_name
Function · 0.70
link_node_to_source
Function · 0.70
get_node_sources
Function · 0.70
Calls
1
open
Function · 0.50
Tested by
no test coverage detected