Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shopify/goose
/ WriteString
Method
WriteString
syncio/buffer.go:88–92 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
86
}
87
88
func
(rw *Buffer) WriteString(s string) (n int, err error) {
89
rw.l.Lock()
90
defer
rw.l.Unlock()
91
return
rw.b.WriteString(s)
92
}
93
94
func
(rw *Buffer) Next(n int) []byte {
95
rw.l.Lock()
Callers
3
Format
Method · 0.80
fillString
Function · 0.80
TestUnreadByte
Function · 0.80
Calls
no outgoing calls
Tested by
2
fillString
Function · 0.64
TestUnreadByte
Function · 0.64