(src string)
| 530 | } |
| 531 | |
| 532 | func authTokenWriteable(src string) bool { |
| 533 | return !strings.HasSuffix(src, "_TOKEN") |
| 534 | } |
| 535 | |
| 536 | // resolveCredential returns the credential gh should present for the host and optional user (an empty username means the |
| 537 | // active account), refreshing an expiring token unless noRefresh is set. Refresh is best effort: a failed |
no outgoing calls
no test coverage detected