MCPcopy
hub / github.com/github/awesome-copilot / _load

Function _load

skills/mini-context-graph/scripts/tools/documents_store.py:43–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42
43def _load() -> dict:
44 if _DOCS_FILE.exists():
45 with open(_DOCS_FILE, "r") as f:
46 return json.load(f)
47 return {"documents": {}}
48
49
50def _save(store: dict) -> None:

Callers 5

add_documentFunction · 0.70
get_documentFunction · 0.70
get_chunkFunction · 0.70
search_chunksFunction · 0.70
list_documentsFunction · 0.70

Calls 1

openFunction · 0.50

Tested by

no test coverage detected