updatecheck

package
v0.0.67 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	CurrentVersion string
	LatestVersion  string
	CheckedAt      time.Time
	Outdated       bool
	FromCache      bool
	Skipped        bool
	Reason         string
}

Result describes the outcome of an update check.

func Check

func Check(ctx context.Context, current string) (Result, error)

Check determines whether a newer release is available for the current CLI version.

Jump to

Keyboard shortcuts

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