mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
repoDescriptor->repoInfo
This commit is contained in:
1 parent
e79ffc6ae8
commit
c2143c5843
9 files changed
+23
-28
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user