Skip to content

Commit

Permalink
refactor: add func that returns branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
nikoksr committed Jun 2, 2020
1 parent 06786d6 commit 81eda5f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkg/proji/repo/gitlab/gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,11 @@ func (g *GitLab) LoadTreeEntries() error {
return nil
}

// GetOwner returns the name of the repo owner
// Owner returns the name of the owner
func (g *GitLab) Owner() string { return g.OwnerName }

// GetRepo returns the name of the repo
// Repo returns the name of the repo
func (g *GitLab) Repo() string { return g.RepoName }

// Repo returns the name of the branch
func (g *GitLab) Branch() string { return g.BranchName }

0 comments on commit 81eda5f

Please sign in to comment.