MCPcopy
hub / github.com/safishamsi/graphify / load_index

Function load_index

worked/example/raw/storage.py:20–23  ·  view source on GitHub ↗

Load the full document index from disk.

()

Source from the content-addressed store, hash-verified

18
19
20def load_index() -> dict:
21 """Load the full document index from disk."""
22 _ensure_storage()
23 return json.loads(INDEX_FILE.read_text())
24
25
26def save_index(index: dict) -> None:

Callers 7

handle_searchFunction · 0.90
find_cross_referencesFunction · 0.90
reprocess_allFunction · 0.90
save_parsedFunction · 0.85
save_processedFunction · 0.85
delete_recordFunction · 0.85
list_recordsFunction · 0.85

Calls 1

_ensure_storageFunction · 0.85

Tested by

no test coverage detected