Documentation
¶
Overview ¶
Package git will manage all requirements to clone repository
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
Repository string // HTTP(s) git repository
Username string // Username to use to fetch repository if required
Password string // Password to use to fetch repository if required
Ref string // Ref in which branch e.g test or refs/head/test
}
func (*Repository) Clone ¶
func (c *Repository) Clone() (z string, err error)
Clone permit to clone git repository
Click to show internal directories.
Click to hide internal directories.