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

Interface TaskNode

todo.go:55–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55type TaskNode interface {
56 ID() int
57 At(index int) Task
58 Len() int
59 Equal(other TaskNode) bool
60
61 Parent() TaskNode
62 SetParent(parent TaskNode)
63
64 Append(child TaskNode)
65 Create(title string, priority Priority) Task
66 Delete()
67}
68
69type Task interface {
70 TaskNode

Callers 1

taskIndexFunction · 0.92

Implementers 1

Calls

no outgoing calls

Tested by

no test coverage detected