MCPcopy Index your code
hub / github.com/github/copilot-sdk / Path

Function Path

go/embeddedcli/installer.go:23–25  ·  view source on GitHub ↗

Path returns the absolute path to the embedded Copilot CLI, installing it on first call if necessary. It returns an empty string when no embedded CLI was configured via Setup (e.g. a build compiled without the embedded runtime). The result is computed once and cached for the life of the process.

()

Source from the content-addressed store, hash-verified

21// configured via Setup (e.g. a build compiled without the embedded runtime).
22// The result is computed once and cached for the life of the process.
23func Path() string {
24 return embeddedcli.Path()
25}

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…