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

Method ShouldSetup

pkg/cmd/auth/shared/git_credential.go:75–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73}
74
75func (flow *GitCredentialFlow) ShouldSetup() bool {
76 return flow.shouldSetup
77}
78
79func (flow *GitCredentialFlow) Setup(hostname, username, authToken string) error {
80 // If there is no credential helper configured then we will set ourselves up as

Callers 2

refreshRunFunction · 0.95
LoginFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected