gitutil

package
v0.4.8-beta.2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentCommit

func GetCurrentCommit() (string, error)

GetCurrentCommit returns the current commit SHA

func GetCurrentHead

func GetCurrentHead() (string, error)

GetCurrentHead returns the current HEAD SHA

func GetLatestTag

func GetLatestTag() (string, error)

GetLatestTag returns the latest tag from Git

func GetTagCommit

func GetTagCommit(tag string) (string, error)

GetTagCommit returns the commit SHA for a given tag

Types

This section is empty.

Jump to

Keyboard shortcuts

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