git

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Revision contains git commit hash
	Revision string

	// Tag contains git tag description
	Tag string

	// Branch used to build
	Branch string
)

Functions

func CollectInfo

func CollectInfo() error

CollectInfo is used to populate package properties.

func TagMatch

func TagMatch(match string) (string, error)

TagMatch returns the git tag for the current branch or "" if none.

Types

This section is empty.

Jump to

Keyboard shortcuts

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