MCPcopy Index your code
hub / github.com/jetify-com/devbox / getGithubToken

Function getGithubToken

internal/devpkg/pkgtype/runx.go:43–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func getGithubToken() string {
44 token := os.Getenv(githubAPITokenVarName)
45 if token == "" {
46 token = os.Getenv(oldGithubAPITokenVarName)
47 }
48 return token
49}

Callers 2

RunXClientFunction · 0.85
RunXRegistryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected