gitutil

package
v0.5.9-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 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