MCPcopy
hub / github.com/lima-vm/lima / Name

Method Name

pkg/copytool/copytool.go:48–48  ·  view source on GitHub ↗

Name returns the name of the copy tool.

()

Source from the content-addressed store, hash-verified

46type CopyTool interface {
47 // Name returns the name of the copy tool.
48 Name() string
49 // Command builds and returns the exec.Cmd for the copy operation. If opts is set, it is used for this invocation instead of the tool's Options set during initialization, without modifying the stored Options.
50 Command(ctx context.Context, paths []string, opts *Options) (*exec.Cmd, error)
51 // IsAvailableOnGuest checks if the tool is available on the specified guest instance.

Callers 15

discoverDriversInDirFunction · 0.65
TestValidIdentifiersFunction · 0.65
TestDownloadRemoteFunction · 0.65
TestDownloadLocalFunction · 0.65
TestDownloadCompressedFunction · 0.65
CacheEntriesFunction · 0.65
WriteFunction · 0.65
OpenEditorFunction · 0.65
runBootScriptsFunction · 0.65
TestConvertToRawFunction · 0.65
convertToFunction · 0.65
InstancesFunction · 0.65

Implementers 2

scpToolpkg/copytool/scp.go
rsyncToolpkg/copytool/rsync.go

Calls

no outgoing calls

Tested by 5

TestValidIdentifiersFunction · 0.52
TestDownloadRemoteFunction · 0.52
TestDownloadLocalFunction · 0.52
TestDownloadCompressedFunction · 0.52
TestConvertToRawFunction · 0.52