updater

package
v0.0.0-...-cbcdca7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentVersion

func GetCurrentVersion() string

GetCurrentVersion returns the current version of DevCLI

func PerformUpdate

func PerformUpdate() error

PerformUpdate downloads and installs the latest version

Types

type UpdateInfo

type UpdateInfo struct {
	CurrentVersion    string
	LatestVersion     string
	IsUpdateAvailable bool
	ReleaseURL        string
	ReleaseNotes      string
}

UpdateInfo contains information about available updates

func CheckForUpdates

func CheckForUpdates() (*UpdateInfo, error)

CheckForUpdates checks if a new version is available on GitHub

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL