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

Method FindAll

todo.go:349–351  ·  view source on GitHub ↗

FindAll recursively returns all matching nodes.

(predicate func(task Task) bool)

Source from the content-addressed store, hash-verified

347
348// FindAll recursively returns all matching nodes.
349func (t *taskListImpl) FindAll(predicate func(task Task) bool) []Task {
350 return findAll(t, predicate)
351}
352
353func findAll(node TaskNode, predicate func(task Task) bool) []Task {
354 out := []Task{}

Callers

nothing calls this directly

Calls 1

findAllFunction · 0.85

Tested by

no test coverage detected