semantic

package
v2.1.7 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LatestAllowedKey = "latest-allowed"
	LatestPreKey     = "latest-pre"
	LatestStableKey  = "latest-stable"
	LatestKey        = "latest"
	MinRequiredKey   = "min-required"

	LatestPrefix = "latest:"
	MinPrefix    = "min:"
)

Variables

View Source
var TfPredicateReaders = []types.PredicateReader{readTfFiles} //nolint

Functions

func CmpVersion

func CmpVersion(v1Str string, v2Str string) int

func ParsePredicate

func ParsePredicate(behaviourOrConstraint string, displayName string, constraintInfo types.ConstraintInfo, predicateReaders []types.PredicateReader, conf *config.Config) (types.PredicateInfo, error)

func RetrieveVersion

func RetrieveVersion(versionFiles []types.VersionFile, conf *config.Config) (string, error)

func StableVersion

func StableVersion(versionStr string) bool

Types

This section is empty.

Directories

Path Synopsis
parser
tf

Jump to

Keyboard shortcuts

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