semverutils

package
v2.0.0-...-98cc131 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL