MCPcopy Create free account
hub / github.com/schollz/progressbar / OptionShowTotalBytes

Function OptionShowTotalBytes

progressbar.go:338–342  ·  view source on GitHub ↗

OptionShowTotalBytes will keep the display of total bytes.

(flag bool)

Source from the content-addressed store, hash-verified

336
337// OptionShowTotalBytes will keep the display of total bytes.
338func OptionShowTotalBytes(flag bool) Option {
339 return func(p *ProgressBar) {
340 p.config.showTotalBytes = flag
341 }
342}
343
344// OptionSetItsString sets what's displayed for iterations a second. The default is "it" which would display: "it/s"
345func OptionSetItsString(iterationString string) Option {

Callers 7

DefaultBytesFunction · 0.85
DefaultBytesSilentFunction · 0.85
DefaultFunction · 0.85
DefaultSilentFunction · 0.85

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…