Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/databus23/helm-diff
/ isDebug
Function
isDebug
cmd/helpers.go:19–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
)
18
19
func
isDebug() bool {
20
return
os.Getenv(
"HELM_DEBUG"
) == envTrue
21
}
22
func
debugPrint(format string, a ...
interface
{}) {
23
if
isDebug() {
24
fmt.Printf(format+
"\n"
, a...)
Callers
2
debugPrint
Function · 0.85
TestIsDebug
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestIsDebug
Function · 0.68