Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Git ¶
type Git interface {
CloneRepository(fs *cs.FileSystem, url string, path string) (*git.Repository, error)
}
func NewGitService ¶
func NewGitService(fs *cs.FileSystem) Git
type GitService ¶
type GitService struct {
// contains filtered or unexported fields
}
func (*GitService) CloneRepository ¶
func (g *GitService) CloneRepository(fs *cs.FileSystem, url string, path string) (*git.Repository, error)
type MockGit ¶
func NewMockGit ¶
NewMockGit creates a new mock Git service for testing purposes.
func (*MockGit) CloneRepository ¶
func (*MockGit) EXPECT ¶
func (_m *MockGit) EXPECT() *MockGit_Expecter
type MockGit_Expecter ¶
type MockGit_Expecter struct {
// contains filtered or unexported fields
}
func (*MockGit_Expecter) CloneRepository ¶
func (_e *MockGit_Expecter) CloneRepository(fs *cs.FileSystem, url string, path string) *MockGit_CloneRepository_Call
Click to show internal directories.
Click to hide internal directories.