Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(repoURL AuthenticatedURL, localPath string) error
Init creates a new mirrored repository in provided local path
func Update ¶
func Update(repoURL AuthenticatedURL, localPath string) error
Update syncs the local mirror from the remote source
Types ¶
type AuthenticatedURL ¶
type AuthenticatedURL string
func GetAuthenticatedURL ¶
func GetAuthenticatedURL(repoURL, user, password string) (AuthenticatedURL, error)
func (AuthenticatedURL) String ¶
func (u AuthenticatedURL) String() string
Click to show internal directories.
Click to hide internal directories.