Skip to main content

check_now

Function check_now 

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

Ask GitHub right now — no interval — and say where the installed build stands.

For devp init, which is deliberate and infrequent enough to be worth a round trip: setting a machine up is exactly the moment to learn the binary is a version behind. devp run deliberately does not use this; it goes through notify_if_outdated, which is interval-gated so everyday work never waits on the network.

Returns true when the registry changed and needs saving.