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

Method Values

taskfile/ast/vars.go:91–96  ·  view source on GitHub ↗

Values returns an iterator that loops over all task values.

()

Source from the content-addressed store, hash-verified

89
90// Values returns an iterator that loops over all task values.
91func (vars *Vars) Values() iter.Seq[Var] {
92 if vars == nil || vars.om == nil {
93 return func(yield func(Var) bool) {}
94 }
95 return vars.om.Values()
96}
97
98// ToCacheMap converts Vars to an unordered map containing only the static
99// variables

Callers 5

ListTaskNamesMethod · 0.45
promptDepsVarsMethod · 0.45
FindMatchingTasksMethod · 0.45
GetTaskListMethod · 0.45
readNodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected