metadata

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Dependency = "git-metadata"
)

Variables

View Source
var CmdRunner = internal.CmdRunner

Functions

func Contribute

func Contribute(context build.Build) error

Types

type Metadata

type Metadata struct {
	Sha    string `toml:"sha"`
	Branch string `toml:"branch"`
	Remote string `toml:"remote"`
}

func (Metadata) Identity

func (md Metadata) Identity() (string, string)

Jump to

Keyboard shortcuts

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