version

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package version contains helpers for working with versions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBundleSource added in v0.1.2

func GetBundleSource(bundleSpecs []string) (string, error)

GetBundleSource returns the bundle source, or an error if they do not match.

func LowestBundleVersion

func LowestBundleVersion(ctx context.Context, bundleSpecs []string) (string, error)

LowestBundleVersion finds the lowest semantic version from a list of bundle specifications.

func Normalize added in v0.0.13

func Normalize(v string) (string, error)

Normalize returns a semver string with the leading `v` prefix stripped off

Types

This section is empty.

Jump to

Keyboard shortcuts

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