# Packages

Package constraints contains a high-level representation of version constraints that retains enough information for direct analysis and serialization as a string.

# Functions

AtLeast returns a set containing all versions greater than or equal to the given version.
AtMost returns a set containing all versions less than or equal to the given version, non-inclusive.
Intersection creates a new set that contains the versions that all of the given sets have in common.
MeetingConstraints returns a version set that contains all of the versions that meet the given constraints, specified using the Spec type from the constraints package.
MeetingConstraintsExact is like MeetingConstraints except that it doesn't apply the extra rules to exclude pre-release versions that are not explicitly requested.
MeetingConstraintsString attempts to parse the given spec as a constraints string in our canonical format, which is most similar to the syntax used by npm, Go's "dep" tool, Rust's "cargo", etc.
MeetingConstraintsStringRuby attempts to parse the given spec as a "Ruby-style" version constraint string, and returns the set of versions that match the constraint if successful.
MustMakeSet can be used to wrap any function that returns a set and an error to make it panic if an error occurs and return the set otherwise.
MustParseVersion is the same as ParseVersion except that it will panic instead of returning an error.
NewerThan returns a set containing all versions greater than the given version, non-inclusive.
OlderThan returns a set containing all versions lower than the given version, non-inclusive.
Only returns a version set containing only the given version.
ParseVersion attempts to parse the given string as a semantic version specification, and returns the result if successful.
Selection returns a version set containing only the versions given as arguments.
Union creates a new set that contains all of the given versions.

# Variables

All is an infinite set containing all possible versions.
No description provided by the author
None is a finite set containing no versions.
Prerelease is a set containing all versions that have a prerelease marker.
Released is a set containing all versions that have an empty prerelease string.
Unspecified is the zero value of Version and represents the absense of a version number.

# Structs

Set is a set of versions, usually created by parsing a constraint string.
Version represents a single version.

# Type aliases

List is a slice of Version that implements sort.Interface, and also includes some other helper functions.
VersionExtra represents a string containing dot-delimited tokens, as used in the pre-release and build metadata portions of a Semantic Versioning version expression.