(host, username, token, gitProtocol string, encrypt bool)
| 29 | type tinyConfig map[string]string |
| 30 | |
| 31 | func (c tinyConfig) Login(host, username, token, gitProtocol string, encrypt bool) (bool, error) { |
| 32 | c[fmt.Sprintf("%s:%s", host, "user")] = username |
| 33 | c[fmt.Sprintf("%s:%s", host, "oauth_token")] = token |
| 34 | c[fmt.Sprintf("%s:%s", host, "git_protocol")] = gitProtocol |
| 35 | return false, nil |
| 36 | } |
| 37 | |
| 38 | func (c tinyConfig) LoginRefreshable(host, username string, credential gh.Credential, gitProtocol string, encrypt bool) (bool, error) { |
| 39 | c[fmt.Sprintf("%s:%s", host, "user")] = username |
nothing calls this directly
no outgoing calls
no test coverage detected