package
Version:
v0.2.5
Opens a new window with list of versions in this module.
Published: Jul 29, 2026
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package updater implements self-update for the pm CLI from GitHub Releases.
Apply downloads rel's archive, verifies its checksum, extracts the pm
binary, and atomically replaces targetPath with it.
IsNewer reports whether latest is a greater semantic version than current.
"dev" is treated as 0.0.0 so any real release is considered newer.
Release describes an available pm release.
Latest queries the GitHub API for the latest pm release and resolves the
archive and checksums asset URLs for the current OS/arch.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.