MCPcopy
hub / github.com/mli/autocut / tasks

Method tasks

autocut/utils.py:74–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

72 f.write("\n".join(self.lines).encode(self.encoding, "replace"))
73
74 def tasks(self):
75 # get all tasks with their status
76 ret = []
77 for l in self.lines:
78 mark, task = self._parse_task_status(l)
79 if mark is not None:
80 ret.append((mark, task))
81 return ret
82
83 def done_editing(self):
84 for m, t in self.tasks():

Callers 4

write_mdMethod · 0.95
runMethod · 0.95
runMethod · 0.95
done_editingMethod · 0.95

Calls 1

_parse_task_statusMethod · 0.95

Tested by

no test coverage detected