MCPcopy Create free account
hub / github.com/driangle/taskmd / applyFilters

Function applyFilters

apps/cli/internal/cli/filter.go:14–16  ·  view source on GitHub ↗

applyFilters delegates to the shared filter package.

(tasks []*model.Task, filterExprs []string)

Source from the content-addressed store, hash-verified

12
13// applyFilters delegates to the shared filter package.
14func applyFilters(tasks []*model.Task, filterExprs []string) ([]*model.Task, error) {
15 return filter.Apply(tasks, filterExprs)
16}
17
18// FilterShortcuts holds the common shortcut filter parameters shared across commands.
19type FilterShortcuts struct {

Callers 12

applyShortcutFiltersFunction · 0.70
runTagsFunction · 0.70
runStatusListFunction · 0.70
runSearchFunction · 0.70
TestSearch_InvalidFilterFunction · 0.70
TestApplyFiltersFunction · 0.70

Calls

no outgoing calls

Tested by 8

TestSearch_InvalidFilterFunction · 0.56
TestApplyFiltersFunction · 0.56