Module comparison

Module comparison 

Source
Expand description

Comparison for PackageVersion.

This module implements the behavior of the rpmvercmp algorithm in RPM version 4.8.1. The current implementation is based on the alpm-pkgver specification and explicitly handles undefined and undocumented behavior observed from rpmvercmp.

The current version, including its improvements over the reference implementation are described and specified in detail in alpm-pkgver.

Structs§

VersionSegments
An Iterator over all VersionSegments of an upstream version string. Check the documentation on VersionSegment to see how a string is split into segments.

Enums§

VersionSegment
This enum represents a single segment in a version string. VersionSegments are returned by the VersionSegments iterator, which is responsible for splitting a version string into its segments.