Versions in this module Expand all Collapse all v2 v2.0.0 Apr 21, 2025 Changes in this version + var ErrNoRepo = errors.New("unable to find git repo") + var ErrShortRef = errors.New("short SHA references are not supported") + func CloneIfRequired(ctx context.Context, refName plumbing.ReferenceName, ...) (*git.Repository, error) + func FindGitRef(ctx context.Context, file string) (string, error) + func FindGitRevision(ctx context.Context, file string) (shortSha string, sha string, err error) + func FindGithubRepo(ctx context.Context, file, githubInstance, remoteName string) (string, error) + func NewGitCloneExecutor(input NewGitCloneExecutorInput) common.Executor + type Error struct + func (e *Error) Commit() string + func (e *Error) Error() string + func (e *Error) Unwrap() error + type NewGitCloneExecutorInput struct + Dir string + OfflineMode bool + Ref string + Token string + URL string v2.0.0-debug Apr 21, 2025 Other modules containing this package github.com/harness/nektos-act