MCPcopy
hub / github.com/nektos/act / CopyToContainer

Method CopyToContainer

pkg/container/docker_run_test.go:80–83  ·  view source on GitHub ↗
(ctx context.Context, id string, options client.CopyToContainerOptions)

Source from the content-addressed store, hash-verified

78}
79
80func (m *mockDockerClient) CopyToContainer(ctx context.Context, id string, options client.CopyToContainerOptions) (client.CopyToContainerResult, error) {
81 args := m.Called(ctx, id, options.DestinationPath, options.Content, options)
82 return client.CopyToContainerResult{}, args.Error(0)
83}
84
85type endlessReader struct {
86 io.Reader

Callers 3

CopyTarStreamMethod · 0.80
copyDirMethod · 0.80
copyContentMethod · 0.80

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected