MCPcopy
hub / github.com/writefreely/writefreely / AreAvailableNoCheck

Method AreAvailableNoCheck

updates.go:70–72  ·  view source on GitHub ↗

AreAvailableNoCheck returns if the latest release is newer than the current running version.

()

Source from the content-addressed store, hash-verified

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

Callers 1

NewAdminPageFunction · 0.80

Calls 1

CompareSemverFunction · 0.85

Tested by

no test coverage detected