MCPcopy Index your code
hub / github.com/docker/cli / CopyFromContainer

Method CopyFromContainer

cli/command/container/client_test.go:125–130  ·  view source on GitHub ↗
(_ context.Context, containerID string, options client.CopyFromContainerOptions)

Source from the content-addressed store, hash-verified

123}
124
125func (f *fakeClient) CopyFromContainer(_ context.Context, containerID string, options client.CopyFromContainerOptions) (client.CopyFromContainerResult, error) {
126 if f.containerCopyFromFunc != nil {
127 return f.containerCopyFromFunc(containerID, options.SourcePath)
128 }
129 return client.CopyFromContainerResult{}, nil
130}
131
132func (f *fakeClient) CopyToContainer(_ context.Context, containerID string, options client.CopyToContainerOptions) (client.CopyToContainerResult, error) {
133 if f.containerCopyToFunc != nil {

Callers 1

copyFromContainerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected