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

Function numDone

cmd/display/tty.go:666–674  ·  view source on GitHub ↗
(tasks map[string]*task)

Source from the content-addressed store, hash-verified

664}
665
666func numDone(tasks map[string]*task) int {
667 i := 0
668 for _, t := range tasks {
669 if t.status != api.Working {
670 i++
671 }
672 }
673 return i
674}
675
676// lenAnsi count of user-perceived characters in ANSI string.
677func lenAnsi(s string) int {

Callers 1

printWithDimensionsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected