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

Function FormatTypeValue

sup/formatter.go:879–883  ·  view source on GitHub ↗
(tv scode.Bytes)

Source from the content-addressed store, hash-verified

877}
878
879func FormatTypeValue(tv scode.Bytes) string {
880 f := NewFormatter(0, true, nil)
881 f.formatTypeValue(0, tv, false)
882 return f.builder.String()
883}
884
885func quoteHexyString(s string) string {
886 if s == "" || len(s) > 4 {

Callers 4

TestTypeValueFunction · 0.92
buildArrowValueMethod · 0.92
formatPrimitiveFunction · 0.85

Calls 3

formatTypeValueMethod · 0.95
NewFormatterFunction · 0.85
StringMethod · 0.65

Tested by 2

TestTypeValueFunction · 0.74