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

Method String

pkg/settings/byte_size.go:27–29  ·  view source on GitHub ↗
(sv *Values)

Source from the content-addressed store, hash-verified

25}
26
27func (b *ByteSizeSetting) String(sv *Values) string {
28 return string(humanizeutil.IBytes(b.Get(sv)))
29}
30
31// DefaultString returns the default value for the setting as a string.
32func (b *ByteSizeSetting) DefaultString() string {

Callers

nothing calls this directly

Calls 2

IBytesFunction · 0.92
GetMethod · 0.65

Tested by

no test coverage detected