MCPcopy
hub / github.com/dropbox/godropbox / Read

Method Read

memcache/raw_binary_client_test.go:46–49  ·  view source on GitHub ↗

Implements the Reader interface.

(p []byte)

Source from the content-addressed store, hash-verified

44
45// Implements the Reader interface.
46func (rw *mockReadWriter) Read(p []byte) (n int, err error) {
47 defer func() { rw.receivedChan <- struct{}{} }()
48 return rw.recvBuf.Read(p)
49}
50
51// Implements the Writer interface.
52func (rw *mockReadWriter) Write(p []byte) (n int, err error) {

Callers 2

receiveResponseMethod · 0.45
receiveCountResponseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected