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

Function buildArray

sup/builder.go:204–213  ·  view source on GitHub ↗
(b *scode.Builder, array *Array)

Source from the content-addressed store, hash-verified

202}
203
204func buildArray(b *scode.Builder, array *Array) error {
205 b.BeginContainer()
206 for _, v := range array.Elements {
207 if err := buildValue(b, v); err != nil {
208 return err
209 }
210 }
211 b.EndContainer()
212 return nil
213}
214
215func buildSet(b *scode.Builder, set *Set) error {
216 b.BeginContainer()

Callers 1

buildValueFunction · 0.85

Calls 3

buildValueFunction · 0.85
BeginContainerMethod · 0.80
EndContainerMethod · 0.80

Tested by

no test coverage detected