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

Method Next

syncio/buffer.go:94–98  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

92}
93
94func (rw *Buffer) Next(n int) []byte {
95 rw.l.Lock()
96 defer rw.l.Unlock()
97 return rw.b.Next(n)
98}
99
100func (rw *Buffer) Reset() {
101 rw.l.Lock()

Callers 3

TestNextFunction · 0.95
findLogrusExitFunction · 0.80
findPanicFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestNextFunction · 0.76