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

Method save

core/taskqueue.py:91–100  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

89 return self._path
90
91 def save(self):
92 path = self._queue_path()
93 data = {
94 'name': self.name,
95 'project_dir': self.project_dir,
96 'original_request': self.original_request,
97 'created_at': self.created_at,
98 'tasks': [asdict(t) for t in self.tasks],
99 }
100 path.write_text(json.dumps(data, indent=2))
101
102 @classmethod
103 def load(cls, path):

Callers 8

plan_tasksFunction · 0.95
mark_runningMethod · 0.95
mark_doneMethod · 0.95
mark_failedMethod · 0.95
build_semantic_indexFunction · 0.45
repair_failed_embeddingsFunction · 0.45
handle_interruptFunction · 0.45
run_queueFunction · 0.45

Calls 1

_queue_pathMethod · 0.95

Tested by

no test coverage detected