MCPcopy
hub / github.com/docker/compose / parentTasks

Method parentTasks

cmd/display/tty.go:247–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

245}
246
247func (w *ttyWriter) parentTasks() iter.Seq[*task] {
248 return func(yield func(*task) bool) {
249 for _, id := range w.ids { // iterate on ids to enforce a consistent order
250 t := w.tasks[id]
251 if len(t.parents) == 0 {
252 yield(t)
253 }
254 }
255 }
256}
257
258func (w *ttyWriter) childrenTasks(parent string) iter.Seq[*task] {
259 return func(yield func(*task) bool) {

Callers 1

printWithDimensionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected