Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_tasks
Function · 0.95
_load_ignore_patterns
Function · 0.45
test_add_and_get
Method · 0.45
test_touch_updates_metadata
Method · 0.45
test_remove_file
Method · 0.45
test_clear
Method · 0.45
test_evict_stale_by_turn
Method · 0.45
test_evict_stale_recently_used_kept
Method · 0.45
test_add_protected_file
Method · 0.45
test_add_auto_protected_by_pattern
Method · 0.45
test_get_returns_path_if_tracked
Method · 0.45
Calls
2
append
Method · 0.80
Task
Class · 0.70
Tested by
9
test_add_and_get
Method · 0.36
test_touch_updates_metadata
Method · 0.36
test_remove_file
Method · 0.36
test_clear
Method · 0.36
test_evict_stale_by_turn
Method · 0.36
test_evict_stale_recently_used_kept
Method · 0.36
test_add_protected_file
Method · 0.36
test_add_auto_protected_by_pattern
Method · 0.36
test_get_returns_path_if_tracked
Method · 0.36