Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloneFunc ¶
type CloneFunc func(path string, isBare bool, o *git.CloneOptions) (*git.Repository, error)
type Repository ¶
type Repository interface {
Clone(cloneOptions *git.CloneOptions, destDir string) (string, error)
}
func NewRepository ¶
func NewRepository(cloneFunc ...CloneFunc) Repository
Click to show internal directories.
Click to hide internal directories.