MCPcopy Create free account
hub / github.com/cli/cli / copilotBinaryPath

Function copilotBinaryPath

pkg/cmd/copilot/copilot.go:203–209  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201}
202
203func copilotBinaryPath() string {
204 binaryName := copilotBinaryName
205 if runtime.GOOS == "windows" {
206 binaryName += ".exe"
207 }
208 return filepath.Join(copilotInstallDir(), binaryName)
209}
210
211var runExternalCmdFunc = runExternalCmd
212

Callers 2

runCopilotFunction · 0.85
findCopilotBinaryFunction · 0.85

Calls 2

copilotInstallDirFunction · 0.85
JoinMethod · 0.80

Tested by

no test coverage detected