MCPcopy Create free account
hub / github.com/Shopify/goose / WriteByte

Method WriteByte

syncio/buffer.go:76–80  ·  view source on GitHub ↗
(c byte)

Source from the content-addressed store, hash-verified

74}
75
76func (rw *Buffer) WriteByte(c byte) error {
77 rw.l.Lock()
78 defer rw.l.Unlock()
79 return rw.b.WriteByte(c)
80}
81
82func (rw *Buffer) ReadString(delim byte) (line string, err error) {
83 rw.l.Lock()

Callers 3

TestBasicOperationsFunction · 0.95
BenchmarkWriteByteFunction · 0.95
RunMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestBasicOperationsFunction · 0.76
BenchmarkWriteByteFunction · 0.76