Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IGitService ¶
type IGitService interface {
CloneRepository(project *workspace.Project, auth *http.BasicAuth) error
RepositoryExists(project *workspace.Project) (bool, error)
SetGitConfig(userData *gitprovider.GitUser) error
}
type Service ¶
type Service struct {
ProjectDir string
GitConfigFileName string
LogWriter io.Writer
}
func (*Service) CloneRepository ¶
func (s *Service) CloneRepository(project *workspace.Project, auth *http.BasicAuth) error
func (*Service) RepositoryExists ¶
func (s *Service) RepositoryExists(project *workspace.Project) (bool, error)
func (*Service) SetGitConfig ¶
func (s *Service) SetGitConfig(userData *gitprovider.GitUser) error
Click to show internal directories.
Click to hide internal directories.