MCPcopy Create free account
hub / github.com/Shopify/goose / Read

Method Read

syncio/buffer_test.go:20–20  ·  view source on GitHub ↗
([]byte)

Source from the content-addressed store, hash-verified

18type negativeReader struct{}
19
20func (r *negativeReader) Read([]byte) (int, error) { return -1, nil }
21
22func init() {
23 testBytes = make([]byte, N)

Callers 3

emptyFunction · 0.45
TestReadEmptyAtEOFFunction · 0.45
TestUnreadByteFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected