MCPcopy Index your code
hub / github.com/docker/cli / Color

Method Color

internal/tui/output.go:34–39  ·  view source on GitHub ↗
(clr aec.ANSI)

Source from the content-addressed store, hash-verified

32}
33
34func (o Output) Color(clr aec.ANSI) aec.ANSI {
35 if o.noColor {
36 return ColorNone
37 }
38 return clr
39}
40
41func (o Output) Sprint(all ...any) string {
42 var out []any

Callers 2

printImageTreeFunction · 0.95
handleAuxFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected