Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthMethod ¶ added in v0.0.4
type AuthMethod = transport.AuthMethod
func PasswordAuth ¶ added in v0.0.4
func PasswordAuth(user string, password string) (AuthMethod, error)
func PasswordCallbackAuth ¶ added in v0.0.4
func PasswordCallbackAuth(user string, password func() (password string, err error)) (AuthMethod, error)
func PublicKeyAuth ¶ added in v0.0.4
func PublicKeyAuth(user string, pemBytes []byte, password string) (AuthMethod, error)
type CloneOptions ¶ added in v0.0.4
type CloneOptions = git.CloneOptions
type Describe ¶
func GetDescribe ¶
type Repository ¶ added in v0.0.4
type Repository = git.Repository
func Clone ¶ added in v0.0.4
func Clone(ctx context.Context, path string, isBare bool, o *CloneOptions) (repo *Repository, err error)
func Open ¶ added in v0.0.4
func Open(path string) (repo *Repository, err error)
Click to show internal directories.
Click to hide internal directories.