Skip to main content

is_newer

Function is_newer 

Source
pub fn is_newer(latest: &str, current: &str) -> bool
Expand description

True only when both versions parse and latest is strictly greater. An unparseable remote tag is never an upgrade, so a malformed API response cannot trigger a download.