MCPcopy Index your code
hub / github.com/dropbox/godropbox / Write

Method Write

memcache/raw_binary_client_test.go:52–55  ·  view source on GitHub ↗

Implements the Writer interface.

(p []byte)

Source from the content-addressed store, hash-verified

50
51// Implements the Writer interface.
52func (rw *mockReadWriter) Write(p []byte) (n int, err error) {
53 defer func() { rw.sentChan <- struct{}{} }()
54 return rw.sendBuf.Write(p)
55}
56
57// Hook up gocheck into go test runner
58func Test(t *testing.T) {

Calls

no outgoing calls

Tested by

no test coverage detected