Documentation ¶
Overview ¶
version is a pure-go implementation of dpkg version string functions (parsing, comparison) which is compatible with dpkg(1).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Version ¶
func Parse ¶
Parse returns a Version struct filled with the epoch, version and revision specified in input. It verifies the version string as a whole, just like dpkg(1), and even returns roughly the same error messages.
func (Version) MarshalControl ¶
func (*Version) UnmarshalControl ¶
Click to show internal directories.
Click to hide internal directories.