MCPcopy
hub / github.com/go-task/task / ShouldListTasks

Method ShouldListTasks

help.go:42–44  ·  view source on GitHub ↗

ShouldListTasks returns true if one of the options to list tasks has been set to true

()

Source from the content-addressed store, hash-verified

40
41// ShouldListTasks returns true if one of the options to list tasks has been set to true
42func (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

Callers 1

runFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected