MCPcopy
hub / github.com/cli/cli / ShouldSetup

Method ShouldSetup

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

Source from the content-addressed store, hash-verified

74}
75
76func (flow *GitCredentialFlow) ShouldSetup() bool {
77 return flow.shouldSetup
78}
79
80func (flow *GitCredentialFlow) Setup(hostname, username, authToken string) error {
81 // 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