Versions in this module Expand all Collapse all v1 v1.1.0 Mar 17, 2022 Changes in this version + func CollectGitRepositoryInformation(dir string, data map[string]string) (map[string]string, error) + func FindGitReference(refType string, refName string) string + func FindRepositoryDirectory(currentDirectory string) string + func GetReferenceByName(projectDirectory string, refType string, refName string) (string, error) + func GetVCSRepositoryInformation(dir string) (map[string]string, error) + func GetVCSRepositoryType(dir string) string + func IsGitRepository(directory string) bool + type Commit struct + Author CommitAuthor + AuthoredAt time.Time + CommittedAt time.Time + Committer CommitAuthor + Context map[string]string + Description string + Hash string + Message string + ShortHash string + Tags []CommitTag + func FindCommitsBetweenRefs(dir string, startRef string, endRef string) ([]Commit, error) + func FindGitCommitsBetweenRefs(projectDir string, from string, to string) ([]Commit, error) + type CommitAuthor struct + Email string + Name string + type CommitTag struct + Name string + VCSRef string + type Release struct + Name string + Reference string + func FindLatestGitRelease(projectDir string, from string, stable bool, skipFrom bool) (Release, error) + func FindLatestRelease(dir string, startAtReference string, stable bool, skipFrom bool) (Release, error)