(host, username string, credential gh.Credential, gitProtocol string, encrypt bool)
| 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 |
| 40 | c[fmt.Sprintf("%s:%s", host, "oauth_token")] = credential.Token |
| 41 | c[fmt.Sprintf("%s:%s", host, "refresh_token")] = credential.RefreshToken |
| 42 | c[fmt.Sprintf("%s:%s", host, "git_protocol")] = gitProtocol |
| 43 | return false, nil |
| 44 | } |
| 45 | |
| 46 | func (c tinyConfig) UsersForHost(hostname string) []string { |
| 47 | return nil |
nothing calls this directly
no outgoing calls
no test coverage detected