versions

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsolidateVersionBlocks

func ConsolidateVersionBlocks(currentVersionBlocks []string, toBlock []string, toUnblock []string) []string

func IsVersionBlocked

func IsVersionBlocked(version string, blockedVersions []*regexp.Regexp) bool

func ParsedBlockedVersionExpressions

func ParsedBlockedVersionExpressions(blockedVersions []string) ([]*regexp.Regexp, error)

func ReadVersionExpressionsFromReader

func ReadVersionExpressionsFromReader(reader io.Reader) ([]string, error)

func SortVersionExpressions

func SortVersionExpressions(versionExpressions []string) []string

Types

type BlockedVersionUpdateMode

type BlockedVersionUpdateMode int64
const (
	Modify BlockedVersionUpdateMode = iota
	Replace
)

Jump to

Keyboard shortcuts

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