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

Method skip

cmd/super/dev/csup/command.go:142–148  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

140}
141
142func (r *reader) skip(n int) error {
143 got, err := r.reader.Discard(n)
144 if n != got {
145 return fmt.Errorf("truncated CSUP data: data section %d but read only %d", n, got)
146 }
147 return err
148}

Callers 1

ReadMethod · 0.95

Calls 1

DiscardMethod · 0.80

Tested by

no test coverage detected