summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-28 21:03:23 -0600
committerJeff Carr <[email protected]>2024-11-28 21:03:23 -0600
commit8893af7740e7fa27fc5040242a4f805ea6aa163d (patch)
treea3526dda78b87374441984618da1261e717ba209 /common.go
parent931e345895e99e9cb058029763e12562cc6d5fba (diff)
testGui example seems to work
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")