MCPcopy
hub / github.com/docker/compose / Copy

Method Copy

pkg/api/api.go:119–119  ·  pkg/api/api.go::Compose.Copy

Copy copies a file/folder between a service container and the local filesystem

(ctx context.Context, projectName string, options CopyOptions)

Source from the content-addressed store, hash-verified

117 Attach(ctx context.Context, projectName string, options AttachOptions) error
118 // Copy copies a file/folder between a service container and the local filesystem
119 Copy(ctx context.Context, projectName string, options CopyOptions) error
120 // Pause executes the equivalent to a `compose pause`
121 Pause(ctx context.Context, projectName string, options PauseOptions) error
122 // UnPause executes the equivalent to a `compose unpause`

Callers 12

initializeContextDirFunction · 0.65
CopyFileFunction · 0.65
doLogContainerMethod · 0.65
copyFromContainerMethod · 0.65
exportMethod · 0.65
ExecMethod · 0.65
mergeLabelsFunction · 0.65
runHookMethod · 0.65
writeEntryMethod · 0.65
runCopyFunction · 0.65

Implementers 3

MockComposepkg/mocks/mock_docker_compose_api.go
MockComposeMockRecorderpkg/mocks/mock_docker_compose_api.go
composeServicepkg/compose/compose.go

Calls

no outgoing calls

Tested by

no test coverage detected