MCPcopy Create free account
hub / github.com/jetify-com/devbox / currentLauncherVersion

Function currentLauncherVersion

internal/vercheck/vercheck.go:262–268  ·  view source on GitHub ↗

currentLauncherVersion returns launcher's version if it is available, or empty string if it is not.

()

Source from the content-addressed store, hash-verified

260// currentLauncherVersion returns launcher's version if it is
261// available, or empty string if it is not.
262func currentLauncherVersion() string {
263 launcherVersion := os.Getenv(envir.LauncherVersion)
264 if launcherVersion == "" {
265 return ""
266 }
267 return "v" + launcherVersion
268}
269
270func removeCurrentVersionFile() error {
271 // currentVersionFilePath is the path to the file that contains the cached

Callers 3

selfUpdateLauncherFunction · 0.85
launcherVersionNoticeFunction · 0.85
isNewLauncherAvailableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected