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

Method EncodedDefault

pkg/settings/float.go:47–49  ·  view source on GitHub ↗

EncodedDefault returns the encoded value of the default value of the setting.

()

Source from the content-addressed store, hash-verified

45
46// EncodedDefault returns the encoded value of the default value of the setting.
47func (f *FloatSetting) EncodedDefault() string {
48 return EncodeFloat(f.defaultValue)
49}
50
51// DecodeToString decodes and renders an encoded value.
52func (f *FloatSetting) DecodeToString(encoded string) (string, error) {

Callers

nothing calls this directly

Calls 1

EncodeFloatFunction · 0.85

Tested by

no test coverage detected