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

Method exists

agents/s12_worktree_task_isolation.py:168–169  ·  view source on GitHub ↗
(self, task_id: int)

Source from the content-addressed store, hash-verified

166 return json.dumps(self._load(task_id), indent=2)
167
168 def exists(self, task_id: int) -> bool:
169 return self._path(task_id).exists()
170
171 def update(self, task_id: int, status: str = None, owner: str = None) -> str:
172 task = self._load(task_id)

Callers 15

can_startFunction · 0.80
claim_taskFunction · 0.80
update_contextFunction · 0.80
can_startFunction · 0.80
claim_taskFunction · 0.80
load_durable_jobsFunction · 0.80
read_inboxMethod · 0.80
peekMethod · 0.80
update_contextFunction · 0.80
can_startFunction · 0.80
claim_taskFunction · 0.80
update_contextFunction · 0.80

Calls 1

_pathMethod · 0.95