MCPcopy
hub / github.com/shareAI-lab/learn-claude-code / _save

Method _save

agents/s12_worktree_task_isolation.py:146–147  ·  view source on GitHub ↗
(self, task: dict)

Source from the content-addressed store, hash-verified

144 return json.loads(path.read_text())
145
146 def _save(self, task: dict):
147 self._path(task["id"]).write_text(json.dumps(task, indent=2))
148
149 def create(self, subject: str, description: str = "") -> str:
150 task = {

Callers 4

createMethod · 0.95
updateMethod · 0.95
bind_worktreeMethod · 0.95
unbind_worktreeMethod · 0.95

Calls 1

_pathMethod · 0.95

Tested by

no test coverage detected