mirror of
https://github.com/celogeek/piwigo-cli.git
synced 2025-05-25 02:02:37 +02:00
improve progress
This commit is contained in:
parent
a99650d614
commit
d6a6280c59
@ -20,7 +20,16 @@ type FileToUploadStat struct {
|
||||
}
|
||||
|
||||
func (s *FileToUploadStat) Refresh() {
|
||||
s.Progress.Describe(fmt.Sprintf("check:%d, upload:%d, skip:%d, failed:%d, total:%d", s.Checked, s.Uploaded, s.Skipped, s.Failed, s.Total))
|
||||
s.Progress.Describe(fmt.Sprintf(
|
||||
"%d / %d - check:%d, upload:%d, skip:%d, fail:%d",
|
||||
s.Uploaded+s.Skipped+s.Failed,
|
||||
s.Total,
|
||||
s.Checked,
|
||||
s.Uploaded,
|
||||
s.Skipped,
|
||||
s.Failed,
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
func (s *FileToUploadStat) Check() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user