git

package
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(argv ...string) (stdout, stderr string, status int, err error)

func Describe

func Describe() (tag string, ok bool)

func DiffHash

func DiffHash(prefix string) (hash string, ok bool)

func Exe

func Exe(argv ...string) (status int, err error)

func FindDotGit

func FindDotGit() (dotGit string)

func IsRepo

func IsRepo() (within bool)

func MakeCustomVersion

func MakeCustomVersion(r, c, d string) (version string)

func MakeReleaseVersion

func MakeReleaseVersion() (release string)

func RevParse

func RevParse(prefix string) (id string, ok bool)

func Status

func Status() (status string, ok bool)

func Which

func Which() (gitBin string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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