AreAvailableNoCheck returns if the latest release is newer than the current running version.
()
| 68 | // AreAvailableNoCheck returns if the latest release is newer than the current |
| 69 | // running version. |
| 70 | func (uc updatesCache) AreAvailableNoCheck() bool { |
| 71 | return CompareSemver(uc.latestVersion, uc.currentVersion) == 1 |
| 72 | } |
| 73 | |
| 74 | // LatestVersion returns the latest stored version available. |
| 75 | func (uc updatesCache) LatestVersion() string { |
no test coverage detected