MCPcopy
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
50def _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
56def _tokenize(text: str) -> list[str]:

Callers 1

add_documentFunction · 0.70

Calls 1

openFunction · 0.50

Tested by

no test coverage detected