MCPcopy Create free account
hub / github.com/alecthomas/devtodo2 / Append

Method Append

todo.go:217–220  ·  view source on GitHub ↗
(child TaskNode)

Source from the content-addressed store, hash-verified

215}
216
217func (t *taskNodeImpl) Append(child TaskNode) {
218 child.SetParent(t)
219 t.tasks = append(t.tasks, child)
220}
221
222func (t *taskNodeImpl) Create(title string, priority Priority) Task {
223 task := newTask(t.Len(), title, priority)

Callers 1

CreateMethod · 0.95

Calls 1

SetParentMethod · 0.65

Tested by

no test coverage detected