MCPcopy
hub / github.com/cli/cli / config

Interface config

pkg/cmd/auth/gitcredential/helper.go:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14const tokenUser = "x-access-token"
15
16type config interface {
17 ActiveToken(string) (string, string)
18 ActiveUser(string) (string, error)
19}
20
21type CredentialOptions struct {
22 IO *iostreams.IOStreams

Callers 2

newMockGitClientFunction · 0.85
NewCmdExtensionFunction · 0.85

Implementers 1

AuthConfiginternal/config/config.go

Calls

no outgoing calls

Tested by

no test coverage detected