MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _write

Function _write

tests/test_incremental_added_module_cache.py:55–59  ·  view source on GitHub ↗
(root: Path, files: dict[str, str])

Source from the content-addressed store, hash-verified

53
54
55def _write(root: Path, files: dict[str, str]) -> None:
56 for rel, text in files.items():
57 path = root.joinpath(*rel.split("/"))
58 path.parent.mkdir(parents=True, exist_ok=True)
59 path.write_text(text, encoding="utf-8")
60
61
62_CASES = {

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected