MCPcopy Index your code
hub / github.com/jetify-com/devbox / latestVersion

Function latestVersion

internal/vercheck/vercheck.go:299–305  ·  view source on GitHub ↗

latestVersion returns the latest version available for the binary.

()

Source from the content-addressed store, hash-verified

297
298// latestVersion returns the latest version available for the binary.
299func latestVersion() string {
300 version := os.Getenv(envir.DevboxLatestVersion)
301 if version == "" {
302 return ""
303 }
304 return "v" + version
305}

Callers 2

devboxVersionNoticeFunction · 0.85
isNewDevboxAvailableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected