MCPcopy Create free account
hub / github.com/bartmeuris/progressio / String

Method String

progress.go:101–148  ·  view source on GitHub ↗

String returns a string representation of the progress. It takes into account if the size was known, and only tries to display relevant data.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

printProgressFunction · 0.95
TestPrintNoSizeFunction · 0.95
TestPrintSizeFunction · 0.95
TestIOProgressFunction · 0.45

Calls 2

FormatDurationFunction · 0.85
FormatSizeFunction · 0.85

Tested by 4

printProgressFunction · 0.76
TestPrintNoSizeFunction · 0.76
TestPrintSizeFunction · 0.76
TestIOProgressFunction · 0.36