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

Method WriteTo

syncio/buffer.go:34–38  ·  view source on GitHub ↗
(w io.Writer)

Source from the content-addressed store, hash-verified

32}
33
34func (rw *Buffer) WriteTo(w io.Writer) (n int64, err error) {
35 rw.l.Lock()
36 defer rw.l.Unlock()
37 return rw.b.WriteTo(w)
38}
39
40func (rw *Buffer) ReadRune() (r rune, size int, err error) {
41 rw.l.Lock()

Callers 2

TestWriteToFunction · 0.95
pprofUIHandlerFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestWriteToFunction · 0.76