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

Method Encoded

pkg/settings/duration.go:54–56  ·  view source on GitHub ↗

Encoded returns the encoded value of the current value of the setting.

(sv *Values)

Source from the content-addressed store, hash-verified

52
53// Encoded returns the encoded value of the current value of the setting.
54func (d *DurationSetting) Encoded(sv *Values) string {
55 return d.String(sv)
56}
57
58// EncodedDefault returns the encoded value of the default value of the setting.
59func (d *DurationSetting) EncodedDefault() string {

Callers

nothing calls this directly

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected