Versions in this module Expand all Collapse all v0 v0.0.1 Oct 21, 2025 Changes in this version + var ErrInvalidConfig = fmt.Errorf("invalid configuration") + var ErrNotRepository = fmt.Errorf("not a git repository") + func IsRepository(path string) bool + type Client struct + Runner executil.Runner + func New(runner executil.Runner) (*Client, error) + func (c Client) Clone(ctx context.Context, cfg CloneConfig) error + func (c Client) CloneOrUpdate(ctx context.Context, cfg CloneConfig) error + func (c Client) Update(ctx context.Context, repoPath, ref string) error + type CloneConfig struct + Depth int + LocalPath string + Ref string + URL string + func (cfg CloneConfig) Validate() error