MCPcopy Index your code
hub / github.com/ddev/ddev / Success

Function Success

pkg/util/utils.go:117–124  ·  view source on GitHub ↗

Success will indicate an operation succeeded with colored confirmation text.

(format string, a ...any)

Source from the content-addressed store, hash-verified

115
116// Success will indicate an operation succeeded with colored confirmation text.
117func Success(format string, a ...any) {
118 format = ColorizeText(format, "green")
119 if a != nil {
120 output.UserOut.Infof(format, a...)
121 } else {
122 output.UserOut.Info(format)
123 }
124}
125
126// Debug Output controlled by DDEV_DEBUG environment variable
127func Debug(format string, a ...any) {

Callers 15

PowerOffFunction · 0.92
processBashHostActionFunction · 0.92
processPHPActionFunction · 0.92
RemoveAddonFunction · 0.92
InstallDependenciesFunction · 0.92
installAddonRecursiveFunction · 0.92
InstallAddonFromGitHubFunction · 0.92

Calls 2

ColorizeTextFunction · 0.85
InfofMethod · 0.80

Tested by

no test coverage detected