update

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package update provides a best-effort mechanism for checking whether a newer version of tapes is available. The check is intentionally soft: network errors, timeouts, and malformed responses are silently ignored so that normal CLI operation is never disrupted.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForUpdate

func CheckForUpdate(currentVersion string) string

CheckForUpdate compares currentVersion against the latest published version at download.tapes.dev/latest/version. Returns the remote version string when an update is available, or "" if current, unreachable, or a non-release build. This function never returns an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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