applyFilters delegates to the shared filter package.
(tasks []*model.Task, filterExprs []string)
| 12 | |
| 13 | // applyFilters delegates to the shared filter package. |
| 14 | func 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. |
| 19 | type FilterShortcuts struct { |
no outgoing calls