MCPcopy
hub / github.com/pterm/pterm / Increment

Method Increment

progressbar_printer.go:187–190  ·  view source on GitHub ↗

Increment current value by one.

()

Source from the content-addressed store, hash-verified

185
186// Increment current value by one.
187func (p *ProgressbarPrinter) Increment() *ProgressbarPrinter {
188 p.Add(1)
189 return p
190}
191
192// UpdateTitle updates the title and re-renders the progressbar
193func (p *ProgressbarPrinter) UpdateTitle(title string) *ProgressbarPrinter {

Callers 5

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

AddMethod · 0.95

Tested by 1