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

Method UnreadRune

syncio/buffer.go:46–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44}
45
46func (rw *Buffer) UnreadRune() error {
47 rw.l.Lock()
48 defer rw.l.Unlock()
49 return rw.b.UnreadRune()
50}
51
52func (rw *Buffer) WriteRune(r rune) (n int, err error) {
53 rw.l.Lock()

Callers 1

TestRuneIOFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestRuneIOFunction · 0.76