Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/docker/compose
/ makeColorFunc
Function
makeColorFunc
cmd/formatter/colors.go:109–113 ·
view source on GitHub ↗
(code string)
Source
from the content-addressed store, hash-verified
107
}
108
109
func
makeColorFunc(code string) colorFunc {
110
return
func
(s string) string {
111
return
ansiColor(code, s)
112
}
113
}
114
115
var
(
116
nextColor = rainbowColor
Callers
2
register
Method · 0.85
init
Function · 0.85
Calls
1
ansiColor
Function · 0.85
Tested by
no test coverage detected