Versions in this module Expand all Collapse all v0 v0.20.0 Feb 21, 2026 Changes in this version + func FormatSize(bytes int64) string + type Bar struct + func NewBar(r io.Reader, p *core.Printer, totalBytes int64, ...) *Bar + func (b *Bar) Read(p []byte) (int, error) + func (b *Bar) Stop() (bytesRead int64, elapsed time.Duration) + type Spinner struct + func NewSpinner(r io.Reader, p *core.Printer, onStart func()) *Spinner + func (s *Spinner) Read(p []byte) (int, error) + func (s *Spinner) Stop() (bytesRead int64, elapsed time.Duration)