(helper gitcredentials.Helper)
| 162 | } |
| 163 | |
| 164 | func helperCategory(helper gitcredentials.Helper) string { |
| 165 | switch { |
| 166 | case helper.IsOurs(): |
| 167 | return "ours" |
| 168 | case helper.IsConfigured(): |
| 169 | return "other" |
| 170 | default: |
| 171 | return "none" |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | func (flow *GitCredentialFlow) ShouldSetup() bool { |
| 176 | return flow.shouldSetup |