MCPcopy Index your code
hub / github.com/cloudfoundry/cli / ProgressReader

Struct ProgressReader

cf/net/progress_reader.go:13–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11)
12
13type ProgressReader struct {
14 ioReadSeeker io.ReadSeeker
15 bytesRead int64
16 total int64
17 quit chan bool
18 ui terminal.UI
19 outputInterval time.Duration
20 mutex sync.RWMutex
21}
22
23func NewProgressReader(readSeeker io.ReadSeeker, ui terminal.UI, outputInterval time.Duration) *ProgressReader {
24 return &ProgressReader{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected