override fun compareTo()

in skiko/src/commonMain/kotlin/org/jetbrains/skiko/OsVersion.kt [17:26]


    override fun compareTo(other: OSVersion): Int {
        if (major > other.major) return 1
        if (major < other.major) return -1
        if (minor > other.minor) return 1
        if (minor < other.minor) return -1
        if (patch > other.patch) return 1
        if (patch < other.patch) return -1

        return 0
    }