IsRefreshable reports whether the credential carries a refresh token and can therefore be renewed by gh.
()
| 52 | |
| 53 | // IsRefreshable reports whether the credential carries a refresh token and can therefore be renewed by gh. |
| 54 | func (c Credential) IsRefreshable() bool { |
| 55 | return c.RefreshToken != "" |
| 56 | } |
no outgoing calls
no test coverage detected