(_ string, numBytes int64)
| 118 | } |
| 119 | |
| 120 | func (p *cliProgress) CachedFile(_ string, numBytes int64) { |
| 121 | p.cachedBytes.Add(numBytes) |
| 122 | p.cachedFiles.Add(1) |
| 123 | p.maybeOutput() |
| 124 | } |
| 125 | |
| 126 | func (p *cliProgress) maybeOutput() { |
| 127 | if !p.uploading.Load() { |
nothing calls this directly
no test coverage detected