Debian Codegraph @

progress.go

raw
1 package desync
2
3 import "io"
4
5 // ProgressBar allows clients to provide their own implementations of graphical
6 // progress visualizations. Optional, can be nil to disable this feature.
7 type ProgressBar interface {
8 SetTotal(total int)
9 Start()
10 Finish()
11 Increment() int
12 Add(add int) int
13 Set(current int)
14 io.Writer
15 }