forked from TrueCloudLab/restic
Refactor progress reporting
This commit is contained in:
parent
97b963ef1d
commit
58cded6b75
4 changed files with 113 additions and 99 deletions
|
@ -26,6 +26,8 @@ type Stat struct {
|
|||
Files uint64
|
||||
Dirs uint64
|
||||
Bytes uint64
|
||||
Trees uint64
|
||||
Blobs uint64
|
||||
}
|
||||
|
||||
type ProgressFunc func(s Stat, runtime time.Duration, ticker bool)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue