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

Method UnreadByte

syncio/buffer.go:70–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68}
69
70func (rw *Buffer) UnreadByte() error {
71 rw.l.Lock()
72 defer rw.l.Unlock()
73 return rw.b.UnreadByte()
74}
75
76func (rw *Buffer) WriteByte(c byte) error {
77 rw.l.Lock()

Callers 1

TestUnreadByteFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestUnreadByteFunction · 0.64