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

Function _write

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

Source from the content-addressed store, hash-verified

16
17
18def _write(path: Path, text: str) -> Path:
19 path.parent.mkdir(parents=True, exist_ok=True)
20 path.write_text(text, encoding="utf-8")
21 return path
22
23
24def _has_edge(result: dict, source: str, target: str, relation: str = "imports_from") -> bool:

Calls

no outgoing calls

Tested by

no test coverage detected