Documentation
¶
Overview ¶
Package rpmver implements RPM versioning.
In one place, finally.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Version ¶
type Version struct {
Name *string
Architecture *string
Epoch string
Version string
Release string
}
Version is a type for representing NEVRA, NEVR, EVR, and EVRA strings.
The stringified version is normalized into a minimal EVR string, with "name" and "architecture" added as available. The Version.EVR method provides for getting only the EVR string.
func (*Version) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*Version) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
Click to show internal directories.
Click to hide internal directories.