Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shopify/goose
/ WriteRune
Method
WriteRune
syncio/buffer.go:52–56 ·
view source on GitHub ↗
(r rune)
Source
from the content-addressed store, hash-verified
50
}
51
52
func
(rw *Buffer) WriteRune(r rune) (n int, err error) {
53
rw.l.Lock()
54
defer
rw.l.Unlock()
55
return
rw.b.WriteRune(r)
56
}
57
58
func
(rw *Buffer) ReadByte() (byte, error) {
59
rw.l.Lock()
Callers
3
TestRuneIO
Function · 0.95
BenchmarkWriteRune
Function · 0.95
replaceMatchableParts
Function · 0.80
Calls
no outgoing calls
Tested by
2
TestRuneIO
Function · 0.76
BenchmarkWriteRune
Function · 0.76