Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
34
func
(o Output) Color(clr aec.ANSI) aec.ANSI {
35
if
o.noColor {
36
return
ColorNone
37
}
38
return
clr
39
}
40
41
func
(o Output) Sprint(all ...any) string {
42
var
out []any
Callers
2
printImageTree
Function · 0.95
handleAux
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected