Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GnuUpstreamLatest ¶
GnuUpstreamLatest returns the latest version found from upstream mirror. This is still highly experimental If the version returned is "0.0.0" then no new versions were found.
func ParseName ¶
ParseName parses a string and returns the name before the last hyphen. passing "bash-5.0" would return "bash"
func ParseNameVersion ¶
ParseNameVersion returns the name and version from a string the string passed is usually in the GNU form of "name-1.0.0"
func ParseVersion ¶
ParseVersion returns the parsed version from a string. passing "bash-5.0" should return "5.0"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.