Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
18
type
negativeReader
struct
{}
19
20
func
(r *negativeReader) Read([]byte) (int, error) {
return
-1, nil }
21
22
func
init() {
23
testBytes = make([]byte, N)
Callers
3
empty
Function · 0.45
TestReadEmptyAtEOF
Function · 0.45
TestUnreadByte
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected