MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / isStartWithZero

Function isStartWithZero

agent/utils/env/env.go:110–115  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

108}
109
110func isStartWithZero(value string) bool {
111 if strings.HasPrefix(value, "0") && len(value) > 1 {
112 return true
113 }
114 return false
115}
116
117func hasEvenDoubleQuotes(s string) bool {
118 count := 0

Callers 2

MarshalFunction · 0.85
formatEnvLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected