repoDescriptor->repoInfo

This commit is contained in:
zach rice committed 2019-03-28 08:06:38 -05:00
1 parent e79ffc6ae8
commit c2143c5843
9 files changed
+23 -28

No files matched your search

+2 -2
View File
@@ -121,7 +121,7 @@ func createGitlabTempDir() (string, error) {
return ownerDir, nil
}
func cloneGitlabRepo(tempDir string, p *gitlab.Project) (*RepoDescriptor, error) {
func cloneGitlabRepo(tempDir string, p *gitlab.Project) (*RepoInfo, error) {
var (
repo *git.Repository
err error
@@ -157,7 +157,7 @@ func cloneGitlabRepo(tempDir string, p *gitlab.Project) (*RepoDescriptor, error)
return nil, err
}
return &RepoDescriptor{
return &RepoInfo{
repository: repo,
name: p.Name,
}, nil