(b ImportStats)
| 295 | } |
| 296 | |
| 297 | func (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 | |
| 303 | func (s *ImportStats) Copy() ImportStats { |
| 304 | return ImportStats{ |