MCPcopy
hub / github.com/containerd/containerd / Put

Method Put

core/remotes/docker/fetcher.go:63–66  ·  view source on GitHub ↗
(buffer *bytes.Buffer)

Source from the content-addressed store, hash-verified

61}
62
63func (p *bufferPool) Put(buffer *bytes.Buffer) {
64 buffer.Reset()
65 p.pool.Put(buffer)
66}
67
68var ErrClosedPipe = errors.New("bufpipe: read/write on closed pipe")
69

Callers 15

limitedCopyMethod · 0.80
ActivateMethod · 0.80
putActiveMountFunction · 0.80
putSystemMountFunction · 0.80
CreateSnapshotFunction · 0.80
CommitActiveFunction · 0.80
putSnapshotFunction · 0.80
putUsageFunction · 0.80
ReadMethod · 0.80
TestCreateDeleteFunction · 0.80
addImageFunction · 0.80

Calls 1

ResetMethod · 0.65

Tested by 12

limitedCopyMethod · 0.64
TestCreateDeleteFunction · 0.64
addImageFunction · 0.64
addSnapshotFunction · 0.64
addIngestFunction · 0.64
addLeaseSnapshotFunction · 0.64
addLeaseContentFunction · 0.64
addLeaseImageFunction · 0.64
addLeaseIngestFunction · 0.64
addContainerFunction · 0.64
TestMigrationsFunction · 0.64