progress

package
v0.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeTheme added in v0.17.0

func MakeTheme() progressbar.Theme

func NewSingleBar added in v0.17.0

func NewSingleBar(r io.Reader, total int64, current int64, oid plumbing.Hash, round int) (io.Reader, io.Closer)

Types

type Bar added in v0.17.0

type Bar struct {
	// contains filtered or unexported fields
}

func NewBar

func NewBar(description string, total int, quiet bool) *Bar

func NewUnknownBar added in v0.17.0

func NewUnknownBar(description string, quiet bool) *Bar

func (*Bar) Add added in v0.17.0

func (b *Bar) Add(n int)

func (*Bar) Exit added in v0.17.0

func (b *Bar) Exit()

func (*Bar) Finish added in v0.17.0

func (b *Bar) Finish()

func (*Bar) NewTeeReader added in v0.17.0

func (b *Bar) NewTeeReader(r io.Reader) io.Reader

type Indicators

type Indicators struct {
	// contains filtered or unexported fields
}

func NewIndicators

func NewIndicators(description, completed string, total uint64, quiet bool) *Indicators

func (*Indicators) Add

func (i *Indicators) Add(n int)

func (*Indicators) Run

func (i *Indicators) Run(ctx context.Context)

func (*Indicators) Wait

func (i *Indicators) Wait()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL