Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ ShouldSetup
Method
ShouldSetup
pkg/cmd/auth/shared/git_credential.go:175–177 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
173
}
174
175
func
(flow *GitCredentialFlow) ShouldSetup() bool {
176
return
flow.shouldSetup
177
}
178
179
// Setup configures git to use the newly obtained credential for the given hostname.
180
//
Callers
6
refreshRun
Function · 0.95
TestPrompt_expiring_configure
Function · 0.95
TestPrompt_expiring_decline
Function · 0.95
TestPrompt_expiring_stop
Function · 0.95
TestPrompt_expiring_alreadyOurs
Function · 0.95
Login
Function · 0.80
Calls
no outgoing calls
Tested by
4
TestPrompt_expiring_configure
Function · 0.76
TestPrompt_expiring_decline
Function · 0.76
TestPrompt_expiring_stop
Function · 0.76
TestPrompt_expiring_alreadyOurs
Function · 0.76