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

Method Bytes

syncio/buffer.go:129–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127}
128
129func (rw *Buffer) Bytes() []byte {
130 rw.l.RLock()
131 defer rw.l.RUnlock()
132 return rw.b.Bytes()
133}
134
135func (rw *Buffer) Len() int {
136 rw.l.RLock()

Callers 4

RunAndGetOutputMethod · 0.95
TestRuneIOFunction · 0.95
TestGrowFunction · 0.95
checkFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestRuneIOFunction · 0.76
TestGrowFunction · 0.76
checkFunction · 0.64