MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / Read

Method Read

asyncbuffer/buffer_test.go:35–39  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

33}
34
35func (r *countingReader) Read(p []byte) (n int, err error) {
36 n, err = r.r.Read(p)
37 r.n.Add(int64(n))
38 return n, err
39}
40
41func (r *countingReader) Close() error { return nil }
42

Callers

nothing calls this directly

Calls 2

AddMethod · 0.80
ReadMethod · 0.45

Tested by

no test coverage detected