Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchVersionStrings ¶
func MatchVersionStrings(vers []string, constraints ...*semver.Constraints) (semver.Collection, error)
MatchVersionStrings returns an ordered list of versions filtered by the given constraints. If no constraints a given the complete list is returned. If one given version is no semver version it is ignored for the matching and an additional error describing the parsing errors is returned.
func MatchVersions ¶
func MatchVersions(versions semver.Collection, constraints ...*semver.Constraints) semver.Collection
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.