Class Paludis::VersionSpec
In: ../../../ruby/action.cc
Parent: Object

A VersionSpec represents a version number (for example, 1.2.3b-r1). Includes Comparable

Methods

Included Modules

Comparable

Public Class methods

Public Instance methods

This is used by the ~> operator. It returns a VersionSpec where the next to last number is one greater (e.g. 5.3.1 => 5.4). Any non number parts are stripped (e.g. 1.2.3_alpha4-r5 => 1.3).

Do we have an -scm part?

Do we have a -try part?

Are we an -scm package, or something pretending to be one?

Returns a VersionSpec without the revision part.

Revision part only (or "r0").

[Validate]