MCPcopy Create free account
hub / github.com/djherbis/buffer / Put

Method Put

pool.go:40–44  ·  view source on GitHub ↗
(buf Buffer)

Source from the content-addressed store, hash-verified

38}
39
40func (p *pool) Put(buf Buffer) error {
41 buf.Reset()
42 p.pool.Put(buf)
43 return nil
44}
45
46type memPool struct {
47 N int64

Callers

nothing calls this directly

Calls 2

ResetMethod · 0.65
PutMethod · 0.65

Tested by

no test coverage detected