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

Method Accumulate

db/writer.go:297–301  ·  view source on GitHub ↗
(b ImportStats)

Source from the content-addressed store, hash-verified

295}
296
297func (s *ImportStats) Accumulate(b ImportStats) {
298 atomic.AddInt64(&s.ObjectsWritten, b.ObjectsWritten)
299 atomic.AddInt64(&s.RecordBytesWritten, b.RecordBytesWritten)
300 atomic.AddInt64(&s.RecordsWritten, b.RecordsWritten)
301}
302
303func (s *ImportStats) Copy() ImportStats {
304 return ImportStats{

Callers 1

writeObjectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected