MCPcopy
hub / github.com/cli/cli / Do

Method Do

pkg/cmd/auth/shared/oauth_scopes.go:31–31  ·  view source on GitHub ↗
(*http.Request)

Source from the content-addressed store, hash-verified

29
30type httpClient interface {
31 Do(*http.Request) (*http.Response, error)
32}
33
34// GetScopes performs a GitHub API request and returns the value of the X-Oauth-Scopes header.

Callers 9

GetCurrentLoginFunction · 0.65
GetScopesFunction · 0.65
CreateJobMethod · 0.65
GetJobMethod · 0.65
GetSessionMethod · 0.65
GetSessionLogsMethod · 0.65
httpRequestFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected