MCPcopy
hub / github.com/containerd/containerd / Bar

TypeAlias Bar

pkg/progress/bar.go:31–31  ·  view source on GitHub ↗

TODO(stevvooe): We may want to support more interesting parameterization of the bar. For now, it is very simple. Bar provides a very simple progress bar implementation. Use with fmt.Printf and "r" to format the progress bar. A "-" flag makes it progress from right to left.

Source from the content-addressed store, hash-verified

29// Use with fmt.Printf and "r" to format the progress bar. A "-" flag makes it
30// progress from right to left.
31type Bar float64
32
33var _ fmt.Formatter = Bar(1.0)
34

Callers 5

DisplayFunction · 0.92
displayNodeFunction · 0.92
DisplayFunction · 0.92
bar.goFile · 0.85
FormatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected