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

Method Get

pool.go:36–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36func (p *pool) Get() (Buffer, error) {
37 return p.pool.Get().(Buffer), nil
38}
39
40func (p *pool) Put(buf Buffer) error {
41 buf.Reset()

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected