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

Method ServerURL

internal/codespaces/api/api.go:113–115  ·  view source on GitHub ↗

ServerURL returns the server url (not the API url), such as https://github.com

()

Source from the content-addressed store, hash-verified

111
112// ServerURL returns the server url (not the API url), such as https://github.com
113func (a *API) ServerURL() string {
114 return a.githubServer
115}
116
117// GetUser returns the user associated with the given token.
118func (a *API) GetUser(ctx context.Context) (*User, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected