mirror of
https://github.com/rclone/rclone.git
synced 2025-02-02 11:39:33 +01:00
gofmt
This commit is contained in:
parent
3234c28f7c
commit
e391311512
@ -398,7 +398,7 @@ func (file *Account) String() string {
|
|||||||
name := []rune(file.name)
|
name := []rune(file.name)
|
||||||
if len(name) > 45 {
|
if len(name) > 45 {
|
||||||
where := len(name) - 42
|
where := len(name) - 42
|
||||||
name = append([]rune{'.','.','.'}, name[where:]...)
|
name = append([]rune{'.', '.', '.'}, name[where:]...)
|
||||||
}
|
}
|
||||||
if b <= 0 {
|
if b <= 0 {
|
||||||
return fmt.Sprintf("%45s: avg:%7.1f, cur: %6.1f kByte/s. ETA: %s", string(name), avg/1024, cur/1024, etas)
|
return fmt.Sprintf("%45s: avg:%7.1f, cur: %6.1f kByte/s. ETA: %s", string(name), avg/1024, cur/1024, etas)
|
||||||
|
Loading…
Reference in New Issue
Block a user