MCPcopy Index your code
hub / github.com/abiosoft/ishell / newProgressBar

Function newProgressBar

progress.go:68–77  ·  view source on GitHub ↗
(s *Shell)

Source from the content-addressed store, hash-verified

66}
67
68func newProgressBar(s *Shell) ProgressBar {
69 display := simpleProgressDisplay{}
70 return &progressBarImpl{
71 interval: progressInterval,
72 writer: s.writer,
73 display: display,
74 iterator: &stringIterator{set: display.Indeterminate()},
75 indeterminate: true,
76 }
77}
78
79func (p *progressBarImpl) Display(display ProgressDisplay) {
80 p.display = display

Callers 2

NewWithReadlineFunction · 0.85
copyShellProgressBarFunction · 0.85

Calls 1

IndeterminateMethod · 0.95

Tested by

no test coverage detected