pub fn check_updates_rpfm_with(
current_version_str: &str,
update_channel: UpdateChannel,
fetch_release: impl FnOnce() -> Result<Release>,
) -> Result<APIResponse>Expand description
Inner function that accepts injectable parameters for testability.
current_version_str is a semver string like “4.7.99”.
fetch_release provides the latest release to compare against.