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

Function ReparentTask

todo.go:372–375  ·  view source on GitHub ↗
(node TaskNode, below TaskNode)

Source from the content-addressed store, hash-verified

370}
371
372func ReparentTask(node TaskNode, below TaskNode) {
373 node.Delete()
374 below.Append(node)
375}

Callers 3

doReparentFunction · 0.92
handleReparentMethod · 0.92
TestReparentFunction · 0.85

Calls 2

DeleteMethod · 0.65
AppendMethod · 0.65

Tested by 1

TestReparentFunction · 0.68