MCPcopy Index your code
hub / github.com/ddev/ddev / MustResolveDdevBinary

Function MustResolveDdevBinary

pkg/testsetup/ddevbin.go:50–56  ·  view source on GitHub ↗

MustResolveDdevBinary returns the test DDEV binary or aborts the current test process.

()

Source from the content-addressed store, hash-verified

48
49// MustResolveDdevBinary returns the test DDEV binary or aborts the current test process.
50func MustResolveDdevBinary() string {
51 bin, err := ResolveDdevBinary()
52 if err != nil {
53 log.Fatalf("MustResolveDdevBinary: %v", err)
54 }
55 return bin
56}
57
58func findRepoRoot() (string, error) {
59 dir, err := os.Getwd()

Callers 5

initFunction · 0.92
initFunction · 0.92
ensureDdevBinFunction · 0.92
ensureDdevBinFunction · 0.92
TestMainFunction · 0.92

Calls 1

ResolveDdevBinaryFunction · 0.85

Tested by 5

initFunction · 0.74
initFunction · 0.74
ensureDdevBinFunction · 0.74
ensureDdevBinFunction · 0.74
TestMainFunction · 0.74