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

Function _write

tests/test_python_external_import_calls.py:11–15  ·  view source on GitHub ↗
(root: Path, name: str, source: str)

Source from the content-addressed store, hash-verified

9
10
11def _write(root: Path, name: str, source: str) -> Path:
12 path = root / name
13 path.parent.mkdir(parents=True, exist_ok=True)
14 path.write_text(source, encoding="utf-8")
15 return path
16
17
18def _calls(result: dict, context_nodes: list[dict] | None = None) -> set[tuple[str, str, str, str]]:

Calls

no outgoing calls

Tested by

no test coverage detected