ShouldListTasks returns true if one of the options to list tasks has been set to true
()
| 40 | |
| 41 | // ShouldListTasks returns true if one of the options to list tasks has been set to true |
| 42 | func (o ListOptions) ShouldListTasks() bool { |
| 43 | return o.ListOnlyTasksWithDescriptions || o.ListAllTasks |
| 44 | } |
| 45 | |
| 46 | // Filters returns the slice of FilterFunc which filters a list |
| 47 | // of ast.Task according to the given ListOptions |