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

Method String

pkg/settings/version.go:101–107  ·  view source on GitHub ↗

String is part of the Setting interface.

(sv *Values)

Source from the content-addressed store, hash-verified

99
100// String is part of the Setting interface.
101func (v *VersionSetting) String(sv *Values) string {
102 cv := v.GetInternal(sv)
103 if cv == nil {
104 panic("unexpected nil value")
105 }
106 return cv.String()
107}
108
109// DefaultString returns the default value for the setting as a string.
110func (v *VersionSetting) DefaultString() string {

Callers

nothing calls this directly

Calls 2

GetInternalMethod · 0.95
StringMethod · 0.65

Tested by

no test coverage detected