MCPcopy Create free account
hub / github.com/bartmeuris/progressio / NewProgressReader

Function NewProgressReader

progressreader.go:37–47  ·  view source on GitHub ↗

NewProgressReader creates a new ProgressReader object based on the io.Reader and the size you specified. Specify a size <= 0 if you don't know the size.

(r io.Reader, size int64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

ExampleReaderFunction · 0.85
ExampleReaderSizeFunction · 0.85
NewProgressFileReaderFunction · 0.85

Calls 1

mkIoProgressFunction · 0.85

Tested by 2

ExampleReaderFunction · 0.68
ExampleReaderSizeFunction · 0.68