Module comparison

Source
Expand description

Comparison for PackageVersion.

This code is derived from the rpmvercmp algorithm in RPM version 4.8.1. The current version, including its improvements over the original are described 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.