Versions in this module Expand all Collapse all v1 v1.0.0 Mar 27, 2026 Changes in this version + var ErrInvalidGitRef = errors.New("invalid git ref") + type Commit struct + Author Person + Commiter Person + Hash string + Parent string + Refs string + Subject string + type Git struct + Log *zerolog.Logger + func (g *Git) FindGitRepositoryRoot(ctx context.Context) (string, error) + func (g *Git) GetAllCommits(ctx context.Context, chartPath string) ([]Commit, error) + func (g *Git) GetDiffBetweenCommits(ctx context.Context, start, end, diffPath string) (string, error) + func (g *Git) GetFileContent(ctx context.Context, hash, filePath string) (string, error) + type Person struct + Date *time.Time + Email string + Name string