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

Function save_index

worked/example/raw/storage.py:26–29  ·  view source on GitHub ↗

Persist the index to disk.

(index: dict)

Source from the content-addressed store, hash-verified

24
25
26def save_index(index: dict) -> None:
27 """Persist the index to disk."""
28 _ensure_storage()
29 INDEX_FILE.write_text(json.dumps(index, indent=2))
30
31
32def save_parsed(doc: dict) -> str:

Callers 3

save_parsedFunction · 0.85
save_processedFunction · 0.85
delete_recordFunction · 0.85

Calls 1

_ensure_storageFunction · 0.85

Tested by

no test coverage detected