pub fn is_major(current: &str, other: &str) -> crate::Result<bool> {
  let current = Version::parse(current)?;
  let other = Version::parse(other)?;
  Ok(other.major > current.major)
}
/// Check if a the "other" version is a major bump from the "current"
Check if a the "other" version is a major bump from the "current"
Check if a the " other " version is a major bump from the " current "
pub fn is_major(current: &str, other: &str) -> crate::Result<bool> {
  let current = Version::parse(current)?;
  let other = Version::parse(other)?;
  Ok(other.major > current.major)
}
pub fn is_major ( current : & str , other : & str ) -> crate :: Result < bool > { let current = Version :: parse ( current ) ? ; let other = Version :: parse ( other ) ? ; Ok ( other . major > current . major ) }
Check if a the "other" version is a major bump from the "current"
Check if a the " other " version is a major bump from the " current "
current
&str
other
&str
current
&str
other
&str