Versions in this module Expand all Collapse all v0 v0.1.3 Dec 30, 2023 Changes in this version + type Progress struct + func NewProgress(printer ProgressPrinter, interval time.Duration) *Progress + func (p *Progress) AddFile(size uint64) + func (p *Progress) AddProgress(name string, bytesWrittenPortion uint64, bytesTotal uint64) + func (p *Progress) Finish() + type ProgressPrinter interface + Finish func(filesFinished, filesTotal, allBytesWritten, allBytesTotal uint64, ...) + Update func(filesFinished, filesTotal, allBytesWritten, allBytesTotal uint64, ...) + func NewJSONProgress(terminal term) ProgressPrinter + func NewTextProgress(terminal term) ProgressPrinter