pub fn vercmp(a: &str, b: &str, flags: VercmpFlags) -> i32
Expand description
Compare alpha and numeric segments of two software versions,
considering flags
.
§a
First version number
§b
Second version number
§flags
Flags, e.g. VercmpFlags::NONE
§Returns
0 if a is newer than b; 0 if a and b are the same version; <<0 if b is newer than a