MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / boolYAMLValue

Function boolYAMLValue

internal/pluginhost/config.go:194–199  ·  view source on GitHub ↗
(v bool)

Source from the content-addressed store, hash-verified

192}
193
194func boolYAMLValue(v bool) string {
195 if v {
196 return "true"
197 }
198 return "false"
199}
200
201func intYAMLValue(v int) string {
202 return strconv.Itoa(v)

Callers 2

normalizedConfigNodeFunction · 0.85
defaultRuntimeConfigNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected