MCPcopy Index your code
hub / github.com/bootdotdev/bootdev / isOutdated

Function isOutdated

version/version.go:57–59  ·  view source on GitHub ↗

Returns true if the current version is older than the latest.

(current string, latest string)

Source from the content-addressed store, hash-verified

55
56// Returns true if the current version is older than the latest.
57func isOutdated(current string, latest string) bool {
58 return semver.Compare(current, latest) < 0
59}
60
61// Returns true if the latest version has a higher major or minor
62// number than the current version. If you don't want to force

Callers 1

FetchUpdateInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected