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

Function _write

tests/test_python_import_resolution.py:15–18  ·  view source on GitHub ↗
(path: Path, text: str)

Source from the content-addressed store, hash-verified

13
14
15def _write(path: Path, text: str) -> Path:
16 path.parent.mkdir(parents=True, exist_ok=True)
17 path.write_text(text, encoding="utf-8")
18 return path
19
20
21def _node_id(result: dict, label: str, source_file: str) -> str:

Calls

no outgoing calls

Tested by

no test coverage detected