MCPcopy
hub / github.com/containerd/containerd / Get

Method Get

core/remotes/docker/fetcher.go:58–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58func (p *bufferPool) Get() *bytes.Buffer {
59 buf := p.pool.Get().(*bytes.Buffer)
60 return buf
61}
62
63func (p *bufferPool) Put(buffer *bytes.Buffer) {
64 buffer.Reset()

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected