Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Progress ¶
Progress is used to track the progress of any I/O operation that are being performed.
func NewProgress ¶
NewProgress returns a new progress tracker for the given total size.
func (*Progress) SetTotal ¶
SetTotal sets the total size of the archive in bytes. This function is safe to call concurrently and can be used to update the total size if it changes, such as when the total size is simultaneously being calculated as data is being written through the progress writer.
Click to show internal directories.
Click to hide internal directories.