()
| 230 | } |
| 231 | |
| 232 | func (p *cliProgress) UploadStarted() { |
| 233 | if p.shared { |
| 234 | // do nothing |
| 235 | return |
| 236 | } |
| 237 | |
| 238 | *p = cliProgress{ |
| 239 | uploadStartTime: timetrack.Start(), |
| 240 | progressFlags: p.progressFlags, |
| 241 | } |
| 242 | |
| 243 | p.uploading.Store(true) |
| 244 | } |
| 245 | |
| 246 | func (p *cliProgress) EstimatedDataSize(fileCount, totalBytes int64) { |
| 247 | if p.shared { |