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

Method Copy

pkg/container/container_types.go:45–45  ·  view source on GitHub ↗
(destPath string, files ...*FileEntry)

Source from the content-addressed store, hash-verified

43type Container interface {
44 Create(capAdd []string, capDrop []string) common.Executor
45 Copy(destPath string, files ...*FileEntry) common.Executor
46 CopyTarStream(ctx context.Context, destPath string, tarStream io.Reader) error
47 CopyDir(destPath string, srcPath string, useGitIgnore bool) common.Executor
48 GetContainerArchive(ctx context.Context, srcPath string) (io.ReadCloser, error)

Callers 15

waitForCommandMethod · 0.65
attachMethod · 0.65
copyPtyOutputFunction · 0.65
getHashFilesFunctionFunction · 0.65
actionCacheCopyFileOrDirFunction · 0.65
TestActionCacheFunction · 0.65
runStepExecutorFunction · 0.65
startHostEnvironmentMethod · 0.65
startJobContainerMethod · 0.65
captureOutputFunction · 0.65
WriteMethod · 0.65

Implementers 2

containerReferencepkg/container/docker_run.go
HostEnvironmentpkg/container/host_environment.go

Calls

no outgoing calls

Tested by 2

TestActionCacheFunction · 0.52
captureOutputFunction · 0.52