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

Method saveType

sup/formatter.go:123–129  ·  view source on GitHub ↗
(named *super.TypeNamed)

Source from the content-addressed store, hash-verified

121}
122
123func (f *Formatter) saveType(named *super.TypeNamed) {
124 name := named.Name
125 f.typedefs[name] = named
126 if f.permanent != nil && f.persist.MatchString(name) {
127 f.permanent[name] = named
128 }
129}
130
131func (f *Formatter) formatValueAndDecorate(typ super.Type, bytes scode.Bytes) {
132 known := f.hasName(typ)

Callers 2

decorateMethod · 0.95
formatTypeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected