MCPcopy Create free account
hub / github.com/brimdata/super / Format

Method Format

sup/formatter.go:97–101  ·  view source on GitHub ↗
(val super.Value)

Source from the content-addressed store, hash-verified

95}
96
97func (f *Formatter) Format(val super.Value) string {
98 f.builder.Reset()
99 f.formatValueAndDecorate(val.Type(), val.Bytes())
100 return f.builder.String()
101}
102
103func (f *Formatter) hasName(typ super.Type) bool {
104 return f.nameOf(typ) != ""

Callers 6

FormatValueMethod · 0.95
FormatValueFunction · 0.45
formatPrimitiveFunction · 0.45
MarshalMethod · 0.45
WriteMethod · 0.45
writePrimitiveMethod · 0.45

Calls 5

TypeMethod · 0.65
StringMethod · 0.65
ResetMethod · 0.45
BytesMethod · 0.45

Tested by

no test coverage detected