mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-01-23 14:32:14 +08:00
add comments for upload
This commit is contained in:
parent
68c89ec317
commit
790056a488
@ -184,7 +184,7 @@ func (utu *UploadTaskUnit) upload() (result *taskframework.TaskUnitRunResult) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if utu.ShowProgress {
|
if utu.ShowProgress {
|
||||||
// 如果下载速度为0, 剩余下载时间未知, 则用 - 代替
|
// 如果上传速度为0, 剩余时间未知, 则用 - 代替
|
||||||
var leftStr string
|
var leftStr string
|
||||||
left := status.TimeLeft()
|
left := status.TimeLeft()
|
||||||
if left < 0 {
|
if left < 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user