VersionResponse

data class VersionResponse(val epoch: Int, val inclusive: Boolean, val kind: String, val name: String, val revision: String)

Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/

Constructors

Link copied to clipboard
fun VersionResponse(epoch: Int, inclusive: Boolean, kind: String, name: String, revision: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val epoch: Int

Used to correct mistakes in the version numbering scheme.

Link copied to clipboard

Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it's not

Link copied to clipboard

Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.

Link copied to clipboard

The main part of the version name.

Link copied to clipboard

The iteration of the package build from the above version.