MCPcopy
hub / github.com/go-git/go-git / Read

Method Read

utils/ioutil/common.go:177–184  ·  view source on GitHub ↗
(buf []byte)

Source from the content-addressed store, hash-verified

175}
176
177func (r *readerOnError) Read(buf []byte) (n int, err error) {
178 n, err = r.Reader.Read(buf)
179 if err != nil && err != io.EOF {
180 r.notify(err)
181 }
182
183 return
184}
185
186type writerOnError struct {
187 io.Writer

Callers 8

ReadFunction · 0.45
ReadUint64Function · 0.45
ReadUint32Function · 0.45
ReadUint16Function · 0.45
ReadHashFunction · 0.45
TestNewContextReaderMethod · 0.45

Calls

no outgoing calls

Tested by 3

TestNewContextReaderMethod · 0.36