MCPcopy Create free account
hub / github.com/OpenRaiser/NanoResearch / __init__

Method __init__

nanoresearch/agents/code_editor.py:30–33  ·  view source on GitHub ↗
(self, code_dir: Path)

Source from the content-addressed store, hash-verified

28 """Manages zip-based snapshots of a code directory."""
29
30 def __init__(self, code_dir: Path) -> None:
31 self.code_dir = code_dir.resolve()
32 self.backup_dir = self.code_dir / ".code_backups"
33 self.backup_dir.mkdir(parents=True, exist_ok=True)
34
35 # -- create --------------------------------------------------------
36

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected