MCPcopy Index your code
hub / github.com/writefreely/writefreely / LatestVersion

Method LatestVersion

updates.go:75–77  ·  view source on GitHub ↗

LatestVersion returns the latest stored version available.

()

Source from the content-addressed store, hash-verified

73
74// LatestVersion returns the latest stored version available.
75func (uc updatesCache) LatestVersion() string {
76 return uc.latestVersion
77}
78
79func (uc updatesCache) ReleaseURL() string {
80 return "https://writefreely.org/releases/" + uc.latestVersion

Callers 2

handleViewAdminUpdatesFunction · 0.80
TestUpdatesRoundTripFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestUpdatesRoundTripFunction · 0.64