MCPcopy 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
52func (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
58func (rw *Buffer) ReadByte() (byte, error) {
59 rw.l.Lock()

Callers 3

TestRuneIOFunction · 0.95
BenchmarkWriteRuneFunction · 0.95
replaceMatchablePartsFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestRuneIOFunction · 0.76
BenchmarkWriteRuneFunction · 0.76