Versions in this module Expand all Collapse all v1 v1.0.4 Oct 1, 2025 Changes in this version + type GitHelper struct + RepoPath string + func NewGitHelper(repoPath string) *GitHelper + func (g *GitHelper) CompareRefs(oldRef, newRef, packagePath string, extractor *contract.Extractor) (*contract.ContractDiff, error) + func (g *GitHelper) ExtractContractFromRef(ref, packagePath string, extractor *contract.Extractor) (*contract.Contract, error) + func (g *GitHelper) FindLatestVersionTag(pattern string) (string, error) + func (g *GitHelper) GetAvailableRefs() ([]string, error) + func (g *GitHelper) GetCurrentRef() (string, error) + func (g *GitHelper) IsGitRepository() bool + func (g *GitHelper) ListVersionTags(pattern string) ([]TagInfo, error) + type TagInfo struct + Commit string + Date time.Time + IsVersion bool + Message string + Name string