Versions in this module Expand all Collapse all v2 v2.3.1 May 25, 2026 Changes in this version + func CheckSHA1Hash(ref string) bool + type AuthProvider interface + GetAuthMethod func() (transport.AuthMethod, error) + type CloneOptions struct + Directory string + Path string + RefName string + Repo string + type Cloner interface + CloneRepository func(store storage.Storer, fs billy.Filesystem, auth AuthProvider, ...) (*plumbing.Reference, error) + type CompositeAuthProvider struct + Providers []AuthProvider + func (c *CompositeAuthProvider) GetAuthMethod() (transport.AuthMethod, error) + type DefaultCloner struct + func (dc *DefaultCloner) CloneRepository(store storage.Storer, fs billy.Filesystem, auth AuthProvider, ...) (*plumbing.Reference, error) + type HTTPSAuthProvider struct + Password string + Username string + func (a *HTTPSAuthProvider) GetAuthMethod() (transport.AuthMethod, error) + type SSHAgentAuthProvider struct + Username string + func (a *SSHAgentAuthProvider) GetAuthMethod() (transport.AuthMethod, error) + type SSHAuthProvider struct + Passphrase string + PrivateKeyPath string + Username string + func (a *SSHAuthProvider) GetAuthMethod() (transport.AuthMethod, error) v2.3.0 May 21, 2026