Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
30
type
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
GetCurrentLogin
Function · 0.65
GetScopes
Function · 0.65
CreateJob
Method · 0.65
GetJob
Method · 0.65
ListLatestSessionsForViewer
Method · 0.65
GetSession
Method · 0.65
GetSessionLogs
Method · 0.65
ListSessionsByResourceID
Method · 0.65
httpRequest
Function · 0.65
Calls
no outgoing calls
Tested by
no test coverage detected