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

Method Do

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

Source from the content-addressed store, hash-verified

30
31type httpClient interface {
32 Do(*http.Request) (*http.Response, error)
33}
34
35// 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