Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StepBuild = step{"build", locale.T("building"), 10000} // the priority is high because the artifact progress bars need to fit in between the steps StepDownload = step{"download", locale.T("downloading"), 20000} StepUnpack = step{"unpack", locale.T("unpacking"), 30000} StepInstall = step{"install", locale.T("installing"), 40000} )
Functions ¶
func MaxNameWidth ¶
func MaxNameWidth() int
MaxNameWidth returns the maximum width to be used for a name in a progress bar
Types ¶
type DotProgressDigester ¶
type DotProgressDigester struct {
// contains filtered or unexported fields
}
func (*DotProgressDigester) Close ¶
func (d *DotProgressDigester) Close() error
type ProgressDigester ¶
type ProgressDigester struct {
// contains filtered or unexported fields
}
func (*ProgressDigester) Close ¶
func (p *ProgressDigester) Close() error
Click to show internal directories.
Click to hide internal directories.