internal

package
v0.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SHA256Algorithm = "sha256"
	XXH64Algorithm  = "xxh64"
)

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(lgr logger.Logger, url string, filepath string, checksum string) (err error)

func DownloadURL added in v0.6.0

func DownloadURL(lgr logger.Logger, url string) (io.ReadCloser, error)

func FilterToLatestVersion

func FilterToLatestVersion(versions []string, versionConstraint string) (string, error)

func IsSemver

func IsSemver(v string) bool

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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