Function nimbus_cli::version_utils::pad_major

source ·
pub(crate) fn pad_major(version: &str) -> String
Expand description

pad_major will keep the string as it is. If the minor and/or patch versions are present, then they are left intact. 112.1.3 –> 112.1.3 112.1 –> 112.1 112 –> 112