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

Method DefaultString

pkg/settings/duration.go:49–51  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

47
48// DefaultString returns the default value for the setting as a string.
49func (d *DurationSetting) DefaultString() string {
50 return EncodeDuration(d.defaultValue)
51}
52
53// Encoded returns the encoded value of the current value of the setting.
54func (d *DurationSetting) Encoded(sv *Values) string {

Callers

nothing calls this directly

Calls 1

EncodeDurationFunction · 0.85

Tested by

no test coverage detected