updatecheck

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAvailable

func IsAvailable(ctx context.Context, currentVersion, contenoxDir string) (latestTag string, available bool, err error)

IsAvailable checks whether a newer version of contenox is available. It caches results for 24 h in contenoxDir/update-check.json to avoid hammering the GitHub API on every invocation. Returns the latest tag, whether it is newer than currentVersion, and any error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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