MCPcopy Create free account
hub / github.com/git-bug/git-bug / NewLogin

Function NewLogin

bridge/core/auth/login.go:21–26  ·  view source on GitHub ↗
(target, login string)

Source from the content-addressed store, hash-verified

19}
20
21func NewLogin(target, login string) *Login {
22 return &Login{
23 credentialBase: newCredentialBase(target),
24 Login: login,
25 }
26}
27
28func NewLoginFromConfig(conf map[string]string) (*Login, error) {
29 base, err := newCredentialBaseFromData(conf)

Callers 2

promptCredOptionsFunction · 0.92
TestLoginSerialFunction · 0.85

Calls 1

newCredentialBaseFunction · 0.85

Tested by 1

TestLoginSerialFunction · 0.68