Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shopify/goose
/ UnreadByte
Method
UnreadByte
syncio/buffer.go:70–74 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
68
}
69
70
func
(rw *Buffer) UnreadByte() error {
71
rw.l.Lock()
72
defer
rw.l.Unlock()
73
return
rw.b.UnreadByte()
74
}
75
76
func
(rw *Buffer) WriteByte(c byte) error {
77
rw.l.Lock()
Callers
1
TestUnreadByte
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestUnreadByte
Function · 0.64