MCPcopy Create free account
hub / github.com/compozy/agh / resolveExplicitDriverPath

Function resolveExplicitDriverPath

internal/testutil/acpmock/driver_binary.go:93–102  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

91}
92
93func resolveExplicitDriverPath(path string) (string, error) {
94 resolved, err := aghconfig.ResolvePath(path)
95 if err != nil {
96 return "", err
97 }
98 if strings.TrimSpace(resolved) == "" {
99 return "", errors.New("acpmock: driver path is required")
100 }
101 return resolved, nil
102}
103
104func driverBinaryName() string {
105 if runtime.GOOS == "windows" {

Callers 2

DefaultDriverPathFunction · 0.85
resolveDriverPathFunction · 0.85

Calls 1

ResolvePathMethod · 0.65

Tested by

no test coverage detected