MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / _write_source

Function _write_source

tests/unit/parsers/test_kotlin_parser.py:38–42  ·  view source on GitHub ↗
(root: Path, relative_path: str, src: str)

Source from the content-addressed store, hash-verified

36
37
38def _write_source(root: Path, relative_path: str, src: str) -> Path:
39 path = root / relative_path
40 path.parent.mkdir(parents=True, exist_ok=True)
41 path.write_text(src, encoding="utf-8")
42 return path
43
44
45EVENT_PROCESSOR_SRC = """

Calls

no outgoing calls

Tested by

no test coverage detected