updater

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchLatestTag

func FetchLatestTag() (string, error)

FetchLatestTag returns the tag_name of the latest GitHub release.

func MaybeUpdateNotice

func MaybeUpdateNotice(current string) string

MaybeUpdateNotice returns a short user-facing line when the installed version is behind the latest GitHub release. Checks the network at most once per checkInterval; otherwise uses the cached latest tag.

func RecordAppliedVersion

func RecordAppliedVersion(tag string)

RecordAppliedVersion updates the local cache after a successful self-update so we do not nag until the next release (or until the cache TTL refreshes).

Types

This section is empty.

Jump to

Keyboard shortcuts

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