MCPcopy Index your code
hub / github.com/databus23/helm-diff / debugPrint

Function debugPrint

cmd/helpers.go:22–26  ·  view source on GitHub ↗
(format string, a ...interface{})

Source from the content-addressed store, hash-verified

20 return os.Getenv("HELM_DEBUG") == envTrue
21}
22func debugPrint(format string, a ...interface{}) {
23 if isDebug() {
24 fmt.Printf(format+"\n", a...)
25 }
26}
27
28func outputWithRichError(cmd *exec.Cmd) ([]byte, error) {
29 debugPrint("Executing %s", strings.Join(cmd.Args, " "))

Callers 4

outputWithRichErrorFunction · 0.85
TestDebugPrintFunction · 0.85
getHelmVersionFunction · 0.85
writeExistingValuesMethod · 0.85

Calls 1

isDebugFunction · 0.85

Tested by 1

TestDebugPrintFunction · 0.68