MCPcopy Create free account
hub / github.com/github/gh-aw / getGitHubHost

Function getGitHubHost

pkg/cli/github.go:15–17  ·  view source on GitHub ↗

getGitHubHost returns the GitHub host URL from environment variables. Delegates to parser.GetGitHubHost() for the shared implementation.

()

Source from the content-addressed store, hash-verified

13// getGitHubHost returns the GitHub host URL from environment variables.
14// Delegates to parser.GetGitHubHost() for the shared implementation.
15func getGitHubHost() string {
16 return parser.GetGitHubHost()
17}
18
19// getGitHubHostForRepo returns the GitHub host URL for a specific repository.
20// Repositories under the github, githubnext, and microsoft organizations are

Callers 11

parseRepoSpecFunction · 0.85
explicitHostForRepoFunction · 0.85
showTrialConfirmationFunction · 0.85
executeTrialRunFunction · 0.85
getGitHubHostForRepoFunction · 0.85
TestGetGitHubHostFunction · 0.85
trialRepositoryURLFunction · 0.85
createTransferPRFunction · 0.85
RunWorkflowTrialsFunction · 0.85

Calls 1

GetGitHubHostFunction · 0.92

Tested by 1

TestGetGitHubHostFunction · 0.68