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

Function execEval

morph.go:340–352  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

338}
339
340func execEval() (string, error) {
341 ctx := getNixContext()
342
343 deploymentFile, err := os.Open(deployment)
344 deploymentPath, err := filepath.Abs(deploymentFile.Name())
345 if err != nil {
346 return "", err
347 }
348
349 path, err := ctx.EvalHosts(deploymentPath, attrkey)
350
351 return path, err
352}
353
354func execPush(hosts []nix.Host) (string, error) {
355 resultPath, err := execBuild(hosts)

Callers 1

mainFunction · 0.85

Calls 2

getNixContextFunction · 0.85
EvalHostsMethod · 0.80

Tested by

no test coverage detected