WithTaskSorter sets the sorter that the [Executor] will use to sort tasks. By default, the sorter is set to sort tasks alphabetically, but with tasks with no namespace (in the root Taskfile) first.
(sorter sort.Sorter)
| 543 | // default, the sorter is set to sort tasks alphabetically, but with tasks with |
| 544 | // no namespace (in the root Taskfile) first. |
| 545 | func WithTaskSorter(sorter sort.Sorter) ExecutorOption { |
| 546 | return &taskSorterOption{sorter} |
| 547 | } |
| 548 | |
| 549 | type taskSorterOption struct { |
| 550 | sorter sort.Sorter |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…