Function find_latest_version_matching

Source
pub fn find_latest_version_matching(
    remote: &str,
    range: &VersionReq,
    pre_releases: bool,
) -> Result<String, PosixError>
Expand description

Return the latest version from remote matching semver::VersionReq

ยงErrors

Will return PosixError if command exits if fails to find matching version.