VersionCompareResult

public enum VersionCompareResult

The severity of an update between versions.

Note

A difference between build-meta-data of versions are as SemVer states explicitly ignored.
  • A MAJORupdate

    Declaration

    Swift

    case major
  • A MINORupdate

    Declaration

    Swift

    case minor
  • A PATCHupdate

    Declaration

    Swift

    case patch
  • A pre-release update

    Declaration

    Swift

    case prerelease
  • A build update

    Declaration

    Swift

    case build
  • The version is not an update (less or equal)

    Declaration

    Swift

    case noUpdate