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

Method _save

agents/s_full.py:275–276  ·  view source on GitHub ↗
(self, task: dict)

Source from the content-addressed store, hash-verified

273 return json.loads(p.read_text())
274
275 def _save(self, task: dict):
276 (TASKS_DIR / f"task_{task['id']}.json").write_text(json.dumps(task, indent=2))
277
278 def create(self, subject: str, description: str = "") -> str:
279 task = {"id": self._next_id(), "subject": subject, "description": description,

Callers 3

createMethod · 0.95
updateMethod · 0.95
claimMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected