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

Method Encoded

pkg/settings/version.go:115–121  ·  view source on GitHub ↗

Encoded is part of the NonMaskedSetting interface.

(sv *Values)

Source from the content-addressed store, hash-verified

113
114// Encoded is part of the NonMaskedSetting interface.
115func (v *VersionSetting) Encoded(sv *Values) string {
116 cv := v.GetInternal(sv)
117 if cv == nil {
118 panic("unexpected nil value")
119 }
120 return string(cv.Encode())
121}
122
123// EncodedDefault is part of the NonMaskedSetting interface.
124func (v *VersionSetting) EncodedDefault() string {

Callers

nothing calls this directly

Calls 2

GetInternalMethod · 0.95
EncodeMethod · 0.65

Tested by

no test coverage detected