update

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package update checks GitHub Releases for newer plugin versions.

Index

Constants

This section is empty.

Variables

View Source
var LogSink func(string)

LogSink is wired by the plugin for observability.

Functions

func Check

func Check()

Check runs an update check if the cache has expired. Safe to call on every scheduler tick.

func CurrentVersion

func CurrentVersion() string

CurrentVersion returns the baked-in version.

func IsAvailable

func IsAvailable() bool

IsAvailable returns whether a newer version exists.

func LatestVersion

func LatestVersion() string

LatestVersion returns the latest version string.

func URL

func URL() string

URL returns the appropriate update URL based on install type. Dev installs (.git exists) → repo URL. Release bundles → website.

Types

This section is empty.

Jump to

Keyboard shortcuts

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