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

Function newRsyncTool

pkg/copytool/rsync.go:24–30  ·  view source on GitHub ↗
(opts *Options)

Source from the content-addressed store, hash-verified

22}
23
24func newRsyncTool(opts *Options) (*rsyncTool, error) {
25 toolPath, err := exec.LookPath("rsync")
26 if err != nil {
27 return nil, fmt.Errorf("rsync not found on host: %w", err)
28 }
29 return &rsyncTool{toolPath: toolPath, Options: opts}, nil
30}
31
32func (t *rsyncTool) Name() string {
33 return t.toolPath

Callers 2

NewFunction · 0.85

Calls

no outgoing calls

Tested by 1