Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GitClient ¶
type GitClient struct {
AuthMethod transport.AuthMethod
}
func NewGitClient ¶
func (*GitClient) CloneRepository ¶
func (g *GitClient) CloneRepository(remoteURL, localPath string) (*git.Repository, error)
func (*GitClient) OpenRepository ¶
func (g *GitClient) OpenRepository(localPath string) (*git.Repository, error)
func (*GitClient) PullChanges ¶
func (g *GitClient) PullChanges(repo *git.Repository) error
Click to show internal directories.
Click to hide internal directories.