aboutsummaryrefslogtreecommitdiff
path: root/pkg/service
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/service')
-rw-r--r--pkg/service/git.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/service/git.go b/pkg/service/git.go
index 6c3912f..afe6103 100644
--- a/pkg/service/git.go
+++ b/pkg/service/git.go
@@ -16,6 +16,7 @@ type (
Repository struct {
Name string
Description string
+ Public bool
LastCommitDate string
Ref string
}
@@ -66,6 +67,7 @@ func (g *GitService) ListRepositories() ([]*Repository, error) {
repos = append(repos, &Repository{
Name: r.Name,
Description: r.Description,
+ Public: r.Public,
LastCommitDate: obj.Author.When.Format(timeFormat),
Ref: head.Name().Short(),
})