2016-05-18 10:43:42 +00:00
|
|
|
// Package progress provides common progress monitoring / display features
|
|
|
|
// NOTE: Subject to change, do not rely on this package from outside git-lfs source
|
|
|
|
package progress
|
2016-12-07 03:29:18 +00:00
|
|
|
|
|
|
|
type Meter interface {
|
|
|
|
Start()
|
2017-01-24 21:11:38 +00:00
|
|
|
Pause()
|
2016-12-14 22:16:59 +00:00
|
|
|
Add(int64)
|
2016-12-07 03:29:18 +00:00
|
|
|
Skip(size int64)
|
|
|
|
StartTransfer(name string)
|
|
|
|
TransferBytes(direction, name string, read, total int64, current int)
|
|
|
|
FinishTransfer(name string)
|
|
|
|
Finish()
|
|
|
|
}
|