Skip to main content

check_for_update_if_needed

Function check_for_update_if_needed 

Source
pub fn check_for_update_if_needed()
Expand description

Check for updates (called on startup).

Phase 1 (instant, no I/O): show notification from cache if newer version known. Phase 2 (background): if cache is stale, fork a background process to refresh it.