Skip to main content

notify_if_outdated

Function notify_if_outdated 

Source
pub fn notify_if_outdated(registry: &mut Registry) -> bool
Expand description

Quietly keep the release check current and print a one-line notice when the installed build is behind. Returns true when the registry changed and needs saving.

Called from devp run and devp status. Never returns an error: a background convenience must not be able to fail the command the user actually asked for.