Skip to main content

version_found

Function version_found 

Source
pub fn version_found(text: &str) -> Option<Version>
Expand description

The version text says (what a tool prints: Vagrant 2.4.1, v2.29.1, 1.0.0-rc.1), as Isoloom’s Version, so versions compare in its order (a pre-release before its release): its first word that is one, else its first <major>.<minor>[.<patch>] (2.3.8.dev is 2.3.8, a missing patch 0). None when it says none: nothing is held back then. The one reading of a version for the runner’s tool probes and isothrum-machine’s minimums.