MCPcopy Create free account
hub / github.com/felixge/httpsnoop / doReadFrom

Method doReadFrom

wrap_generated.go:1277–1282  ·  view source on GitHub ↗
(src io.Reader)

Source from the content-addressed store, hash-verified

1275}
1276
1277func (r *rwState) doReadFrom(src io.Reader) (int64, error) {
1278 if r.readFrom != nil {
1279 return r.readFrom(src)
1280 }
1281 return r.w.(io.ReaderFrom).ReadFrom(src)
1282}
1283
1284func (r *rwState) doSetReadDeadline(deadline time.Time) error {
1285 if r.setReadDeadline != nil {

Callers 15

ReadFromMethod · 0.80
ReadFromMethod · 0.80
ReadFromMethod · 0.80
ReadFromMethod · 0.80
ReadFromMethod · 0.80
ReadFromMethod · 0.80
ReadFromMethod · 0.80
ReadFromMethod · 0.80
ReadFromMethod · 0.80
ReadFromMethod · 0.80
ReadFromMethod · 0.80
ReadFromMethod · 0.80

Calls 1

ReadFromMethod · 0.45

Tested by

no test coverage detected