Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Auth transport.AuthMethod
Functions ¶
func CloneGithubRepo ¶
func CloneGithubRepo(targetDir string, repository *github.Repository) (localRepo *git.Repository, err error)
CloneGithubRepo is the function that actually clones a github repo
Types ¶
type GitClientProvider ¶
type GitClientProvider struct{}
GitClientProvider provides git client facade
func (*GitClientProvider) GetGitClient ¶
func (provider *GitClientProvider) GetGitClient() (client GitClient, err error)
GetGitClient is the implementation that actually returns the git client
Click to show internal directories.
Click to hide internal directories.