MCPcopy Index your code
hub / github.com/foxcpp/maddy / Read

Method Read

internal/testutils/buffer.go:53–59  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

51}
52
53func (r *errorReader) Read(b []byte) (int, error) {
54 n, err := r.r.Read(b)
55 if err == io.EOF {
56 return n, r.err
57 }
58 return n, err
59}
60
61type FailingBuffer struct {
62 Blob []byte

Calls

no outgoing calls