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

Method AddMax

progressbar.go:892–894  ·  view source on GitHub ↗

AddMax takes in a int and adds it to the max value of the progress bar

(added int)

Source from the content-addressed store, hash-verified

890// and adds it to the max
891// value of the progress bar
892func (p *ProgressBar) AddMax(added int) {
893 p.AddMax64(int64(added))
894}
895
896// AddMax64 is basically
897// the same as AddMax,

Callers 1

Calls 1

AddMax64Method · 0.95

Tested by 1