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

Method All

taskfile/ast/vars.go:75–80  ·  view source on GitHub ↗

All returns an iterator that loops over all task key-value pairs.

()

Source from the content-addressed store, hash-verified

73
74// All returns an iterator that loops over all task key-value pairs.
75func (vars *Vars) All() iter.Seq2[string, Var] {
76 if vars == nil || vars.om == nil {
77 return func(yield func(string, Var) bool) {}
78 }
79 return vars.om.AllFromFront()
80}
81
82// Keys returns an iterator that loops over all task keys.
83func (vars *Vars) Keys() iter.Seq[string] {

Callers 15

ToCacheMapMethod · 0.95
setupFuzzyModelMethod · 0.45
readDotEnvFilesMethod · 0.45
compiledTaskMethod · 0.45
resolveMatrixRefsFunction · 0.45
productFunction · 0.45
RunTaskMethod · 0.45
FindMatchingTasksMethod · 0.45
getVariablesMethod · 0.45
printTaskVarsFunction · 0.45
printTaskEnvFunction · 0.45
MaskSecretsWithExtraFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected