Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitRepository ¶
type GitRepository struct { Fs billy.Filesystem Name string URL string Protocol string // contains filtered or unexported fields }
GitRepository holds info for git repos and implements the Repository interface
func NewGitRepository ¶
func NewGitRepository(name, url string) *GitRepository
NewGitRepository creates a GitRepository
func (*GitRepository) Clone ¶
func (gr *GitRepository) Clone(path string) error
Clone git repository to path
type Repository ¶
Repository struct holds information for a repository
Click to show internal directories.
Click to hide internal directories.