Stats implements baker.Output
()
| 335 | |
| 336 | // Stats implements baker.Output |
| 337 | func (s *Stats) Stats() baker.OutputStats { |
| 338 | return baker.OutputStats{ |
| 339 | NumProcessedLines: int64(atomic.LoadUint64(&s.totaln)), |
| 340 | NumErrorLines: int64(atomic.LoadUint64(&s.errn)), |
| 341 | } |
| 342 | } |
| 343 | |
| 344 | // CanShard implements baker.Output |
| 345 | func (s *Stats) CanShard() bool { return true } |
nothing calls this directly
no outgoing calls
no test coverage detected