MCPcopy
hub / github.com/sirupsen/logrus / Put

Method Put

buffer_pool.go:21–23  ·  view source on GitHub ↗
(buf *bytes.Buffer)

Source from the content-addressed store, hash-verified

19}
20
21func (p *defaultPool) Put(buf *bytes.Buffer) {
22 p.pool.Put(buf)
23}
24
25func (p *defaultPool) Get() *bytes.Buffer {
26 return p.pool.Get().(*bytes.Buffer)

Callers

nothing calls this directly

Calls 1

PutMethod · 0.65

Tested by

no test coverage detected