MCPcopy Create free account
hub / github.com/go-task/task / Keys

Method Keys

taskfile/ast/include.go:102–107  ·  view source on GitHub ↗

Keys returns an iterator that loops over all task keys.

()

Source from the content-addressed store, hash-verified

100
101// Keys returns an iterator that loops over all task keys.
102func (includes *Includes) Keys() iter.Seq[string] {
103 if includes == nil || includes.om == nil {
104 return func(yield func(string) bool) {}
105 }
106 return includes.om.Keys()
107}
108
109// Values returns an iterator that loops over all task values.
110func (includes *Includes) Values() iter.Seq[*Include] {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected