MCPcopy Create free account
hub / github.com/apache/openwhisk-cli / GetBinPath

Function GetBinPath

tests/src/integration/common/utils.go:121–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119}
120
121func GetBinPath() string {
122 _, goFileName, _, _ := runtime.Caller(1)
123 // Yes, this assumes we're using the official build script. I haven't
124 // figured out a better approach yet given the panoply of options.
125 // Maybe some sort of Go search path?
126 return path.Join(path.Dir(goFileName), "../../../../build")
127}
128
129type InvalidArg struct {
130 Cmd []string

Callers 1

NewWskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected