Skip to main content

Module update_check

Module update_check 

Source

Enums§

ReleaseChannel
UpdateStatus
UpgradeResult

Functions§

check_for_update
check_for_update_forced
Always fetches from GitHub, ignoring the 24-hour cache.
invalidate_update_cache
Removes the on-disk update cache so the next command performs a fresh fetch rather than reading a stale “update required” entry left behind by a failed upgrade.
maybe_notify
Runs the background version check for command, unless command is one that already does its own forced fetch (shine update, shine self upgrade) or otherwise shouldn’t be gated on it (shine self install should stay available even when the current binary is version-gated).
upgrade_to_release