libappstream::functionsFunction vercmp_simple
source pub fn vercmp_simple(a: &str, b: &str) -> i32
Expand description
Compare alpha and numeric segments of two software versions.
First version number
Second version number
§Returns
0 if a is newer than b;
0 if a and b are the same version;
<<0 if b is newer than a