Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/github/awesome-copilot
/ _save
Function
_save
skills/mini-context-graph/scripts/tools/documents_store.py:50–53 ·
view source on GitHub ↗
(store: dict)
Source
from the content-addressed store, hash-verified
48
49
50
def
_save(store: dict) -> None:
51
_DATA_DIR.mkdir(parents=True, exist_ok=True)
52
with
open(_DOCS_FILE,
"w"
)
as
f:
53
json.dump(store, f, indent=2)
54
55
56
def
_tokenize(text: str) -> list[str]:
Callers
1
add_document
Function · 0.70
Calls
1
open
Function · 0.50
Tested by
no test coverage detected