Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoesRangeInclude ¶
formatting issues are handled in WhichVersionMatches, errors not expected to be thrown
Types ¶
type VersionMatchObject ¶
type VersionMatchObject struct { VRSet []VersionRange // Exact used in the case where heuristics can't determine semvers Exact *string All bool }
func ParseVersionRange ¶
func ParseVersionRange(s string) (VersionMatchObject, error)
func (*VersionMatchObject) Match ¶
func (vmo *VersionMatchObject) Match(v VersionValue) bool
type VersionRange ¶
type VersionRange struct {
Constraint string
}
type VersionValue ¶
func ParseVersionValue ¶
func ParseVersionValue(s string) VersionValue
Click to show internal directories.
Click to hide internal directories.