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

Method DefaultString

pkg/settings/float.go:37–39  ·  view source on GitHub ↗

DefaultString returns the default value for the setting as a string.

()

Source from the content-addressed store, hash-verified

35
36// DefaultString returns the default value for the setting as a string.
37func (f *FloatSetting) DefaultString() string {
38 return EncodeFloat(f.defaultValue)
39}
40
41// Encoded returns the encoded value of the current value of the setting.
42func (f *FloatSetting) Encoded(sv *Values) string {

Callers

nothing calls this directly

Calls 1

EncodeFloatFunction · 0.85

Tested by

no test coverage detected