Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/git-lfs/git-lfs
/ NewRetriableReader
Function
NewRetriableReader
tools/iotools.go:82–84 ·
view source on GitHub ↗
(r io.Reader)
Source
from the content-addressed store, hash-verified
80
}
81
82
func
NewRetriableReader(r io.Reader) io.Reader {
83
return
&RetriableReader{r}
84
}
85
86
func
(r *RetriableReader) Read(b []byte) (int, error) {
87
n, err := r.reader.Read(b)
Callers
5
TestRetriableReaderReturnsSuccessfulReads
Function · 0.92
TestRetriableReaderReturnsEOFs
Function · 0.92
TestRetriableReaderMakesErrorsRetriable
Function · 0.92
TestRetriableReaderDoesNotRewrap
Function · 0.92
download
Method · 0.92
Calls
no outgoing calls
Tested by
4
TestRetriableReaderReturnsSuccessfulReads
Function · 0.74
TestRetriableReaderReturnsEOFs
Function · 0.74
TestRetriableReaderMakesErrorsRetriable
Function · 0.74
TestRetriableReaderDoesNotRewrap
Function · 0.74