summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'common.go')
-rw-r--r--common.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.go b/common.go
index fd2edf8..d1ec950 100644
--- a/common.go
+++ b/common.go
@@ -99,6 +99,10 @@ func (r *RepoRow) IsDirty() bool {
return r.Status.IsDirty()
}
+func (r *RepoRow) RepoType() string {
+ return r.pb.RepoType()
+}
+
func (r *RepoRow) ReadOnly() bool {
if r == nil {
log.Warn("ReadOnly() repo == nil")