MCPcopy Create free account
hub / github.com/ParzivalHack/PySpector / _write

Method _write

tests/unit/ast_cache_test.py:220–223  ·  view source on GitHub ↗
(self, name: str, content: str)

Source from the content-addressed store, hash-verified

218 self._tmpdir.cleanup()
219
220 def _write(self, name: str, content: str) -> Path:
221 p = self.tmp / name
222 p.write_text(content, encoding="utf-8")
223 return p
224
225 def _l1_key(self, p: Path) -> str:
226 """Return the L1 dict key for a path (always the resolved form)."""

Calls

no outgoing calls

Tested by

no test coverage detected