Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrGitRootNotFound = errors.New("git root not found")
)
Functions ¶
func FindGitRoot ¶
func FindGitRoot(startPath string, rw walker.ReverseWalker) (string, error)
FindGitRoot finds the root of a Git repository starting from the given path. It returns the path to the root of the Git repository or an error if the root is not found.
func GetTagCommit ¶
GetTagCommit returns the commit that the given tag object points to.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.