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

Method String

pkg/settings/duration.go:44–46  ·  view source on GitHub ↗
(sv *Values)

Source from the content-addressed store, hash-verified

42}
43
44func (d *DurationSetting) String(sv *Values) string {
45 return EncodeDuration(d.Get(sv))
46}
47
48// DefaultString returns the default value for the setting as a string.
49func (d *DurationSetting) DefaultString() string {

Callers 1

EncodedMethod · 0.95

Calls 2

GetMethod · 0.95
EncodeDurationFunction · 0.85

Tested by

no test coverage detected