Method
EstimatedDataSize
(fileCount, totalBytes int64)
Source from the content-addressed store, hash-verified
| 244 | } |
| 245 | |
| 246 | func (p *cliProgress) EstimatedDataSize(fileCount, totalBytes int64) { |
| 247 | if p.shared { |
| 248 | // do nothing |
| 249 | return |
| 250 | } |
| 251 | |
| 252 | p.outputMutex.Lock() |
| 253 | defer p.outputMutex.Unlock() |
| 254 | |
| 255 | p.estimatedFileCount = fileCount |
| 256 | p.estimatedTotalBytes = totalBytes |
| 257 | } |
| 258 | |
| 259 | func (p *cliProgress) UploadFinished() { |
| 260 | // do nothing here, we still want to report the files flushed after the Upload has completed. |
Callers
nothing calls this directly
Tested by
no test coverage detected