Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shopify/goose
/ UnreadRune
Method
UnreadRune
syncio/buffer.go:46–50 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
44
}
45
46
func
(rw *Buffer) UnreadRune() error {
47
rw.l.Lock()
48
defer
rw.l.Unlock()
49
return
rw.b.UnreadRune()
50
}
51
52
func
(rw *Buffer) WriteRune(r rune) (n int, err error) {
53
rw.l.Lock()
Callers
1
TestRuneIO
Function · 0.95
Calls
no outgoing calls
Tested by
1
TestRuneIO
Function · 0.76