version

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version             string
	DownloadableVersion string // <= Version

	SHA256SUMSDownloadURLTemplate = "https://github.com/reproducible-containers/repro-get/releases/download/{{.DownloadableVersion}}/SHA256SUMS"
)

Variables can be fulfilled on compilation time: -ldflags="-X github.com/reproducible-containers/repro-get/pkg/version.Version=v0.1.2"

Functions

func GetVersion

func GetVersion() string

func SHASHA added in v0.1.1

func SHASHA(ctx context.Context, downloadableVersion string) (string, error)

SHASHA returns the sha256sum of the SHA256SUMS file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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