MCPcopy
hub / github.com/cli/cli / IsConfigured

Method IsConfigured

pkg/cmd/auth/shared/gitcredentials/helper_config.go:73–75  ·  view source on GitHub ↗

IsConfigured returns true if the helper has a non-empty command, i.e. the git config had an entry

()

Source from the content-addressed store, hash-verified

71
72// IsConfigured returns true if the helper has a non-empty command, i.e. the git config had an entry
73func (h Helper) IsConfigured() bool {
74 return h.Cmd != ""
75}
76
77// IsOurs returns true if the helper command is the GitHub CLI credential helper
78func (h Helper) IsOurs() bool {

Callers 2

SetupMethod · 0.80
TestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected