Versions in this module Expand all Collapse all v0 v0.1.0 Mar 18, 2026 Changes in this version + type GitOptions func() []string + func WithGitBranch(branch string) GitOptions + type GitProvider interface + Checkout func(ctx context.Context, repoDir string, commitHash string) error + Clone func(ctx context.Context, repoURL string, destDir string, options ...GitOptions) error + GetCommitHashBeforeDate func(ctx context.Context, repoDir string, dateTime time.Time) (string, error) + type GitProviderImpl struct + func NewGitProviderImpl(eventListener opctx.EventListener, cmdFactory opctx.CmdFactory) (*GitProviderImpl, error) + func (g *GitProviderImpl) Checkout(ctx context.Context, repoDir string, commitHash string) error + func (g *GitProviderImpl) Clone(ctx context.Context, repoURL, destDir string, options ...GitOptions) error + func (g *GitProviderImpl) GetCommitHashBeforeDate(ctx context.Context, repoDir string, dateTime time.Time) (string, error)