Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/safishamsi/graphify
/ _ensure_storage
Function
_ensure_storage
worked/example/raw/storage.py:14–17 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
13
14
def
_ensure_storage() -> None:
15
STORAGE_DIR.mkdir(exist_ok=True)
16
if
not INDEX_FILE.exists():
17
INDEX_FILE.write_text(json.dumps({}))
18
19
20
def
load_index() -> dict:
Callers
6
load_index
Function · 0.85
save_index
Function · 0.85
save_parsed
Function · 0.85
save_processed
Function · 0.85
load_record
Function · 0.85
delete_record
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected