MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / add

Method add

core/taskqueue.py:37–40  ·  view source on GitHub ↗
(self, description)

Source from the content-addressed store, hash-verified

35 self._path = None
36
37 def add(self, description):
38 t = Task(id=len(self.tasks)+1, description=description)
39 self.tasks.append(t)
40 return t
41
42 def current(self):
43 """Return first pending or running task."""

Callers 11

plan_tasksFunction · 0.95
_load_ignore_patternsFunction · 0.45
test_add_and_getMethod · 0.45
test_remove_fileMethod · 0.45
test_clearMethod · 0.45

Calls 2

appendMethod · 0.80
TaskClass · 0.70