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

Function devboxVersionNotice

internal/vercheck/vercheck.go:230–240  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228}
229
230func devboxVersionNotice() string {
231 if !isNewDevboxAvailable() {
232 return ""
233 }
234
235 return fmt.Sprintf(
236 "New devbox available: %s -> %s. Please run `devbox version update`.\n",
237 currentDevboxVersion,
238 latestVersion(),
239 )
240}
241
242// isNewLauncherAvailable returns true if a new launcher version is available.
243func isNewLauncherAvailable() bool {

Callers 1

CheckVersionFunction · 0.85

Calls 2

isNewDevboxAvailableFunction · 0.85
latestVersionFunction · 0.85

Tested by

no test coverage detected