MCPcopy
hub / github.com/pterm/pterm / updateProgress

Method updateProgress

progressbar_printer.go:200–203  ·  view source on GitHub ↗

This is the update logic, renders the progressbar

()

Source from the content-addressed store, hash-verified

198
199// This is the update logic, renders the progressbar
200func (p *ProgressbarPrinter) updateProgress() *ProgressbarPrinter {
201 Fprinto(p.Writer, p.getString())
202 return p
203}
204
205func (p *ProgressbarPrinter) getString() string {
206 if !p.IsActive {

Callers 3

UpdateTitleMethod · 0.95
AddMethod · 0.95
StartMethod · 0.95

Calls 2

getStringMethod · 0.95
FprintoFunction · 0.85

Tested by

no test coverage detected