MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / String

Method String

pkg/settings/bool.go:31–33  ·  view source on GitHub ↗
(sv *Values)

Source from the content-addressed store, hash-verified

29}
30
31func (b *BoolSetting) String(sv *Values) string {
32 return EncodeBool(b.Get(sv))
33}
34
35// DefaultString returns the default value for the setting as a string.
36func (b *BoolSetting) DefaultString() string {

Callers 1

EncodedMethod · 0.95

Calls 2

GetMethod · 0.95
EncodeBoolFunction · 0.85

Tested by

no test coverage detected