MCPcopy Create free account
hub / github.com/DBCDK/morph / execPush

Function execPush

morph.go:354–362  ·  view source on GitHub ↗
(hosts []nix.Host)

Source from the content-addressed store, hash-verified

352}
353
354func execPush(hosts []nix.Host) (string, error) {
355 resultPath, err := execBuild(hosts)
356 if err != nil {
357 return "", err
358 }
359
360 fmt.Fprintln(os.Stderr)
361 return resultPath, pushPaths(createSSHContext(), hosts, resultPath)
362}
363
364func execDeploy(hosts []nix.Host) (string, error) {
365 doPush := false

Callers 1

mainFunction · 0.85

Calls 3

execBuildFunction · 0.85
pushPathsFunction · 0.85
createSSHContextFunction · 0.85

Tested by

no test coverage detected