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

Function _write

tests/test_ts_generators.py:14–17  ·  view source on GitHub ↗
(path: Path, text: str)

Source from the content-addressed store, hash-verified

12
13
14def _write(path: Path, text: str) -> Path:
15 path.parent.mkdir(parents=True, exist_ok=True)
16 path.write_text(text, encoding="utf-8")
17 return path
18
19
20def _has_node(result: dict, file: str, sym: str) -> bool:

Calls

no outgoing calls

Tested by

no test coverage detected