Documentation ¶
Index ¶
- func Cmd(argv ...string) (stdout, stderr string, status int, err error)
- func Describe() (tag string, ok bool)
- func DiffHash(prefix string) (hash string, ok bool)
- func Exe(argv ...string) (status int, err error)
- func FindDotGit() (dotGit string)
- func IsRepo() (within bool)
- func MakeCustomVersion(r, c, d string) (version string)
- func MakeReleaseVersion() (release string)
- func RevParse(prefix string) (id string, ok bool)
- func Status() (status string, ok bool)
- func Which() (gitBin string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindDotGit ¶
func FindDotGit() (dotGit string)
func MakeCustomVersion ¶
func MakeReleaseVersion ¶
func MakeReleaseVersion() (release string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.