summaryrefslogtreecommitdiff
path: root/doShow.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-12 01:07:00 -0500
committerJeff Carr <[email protected]>2025-10-12 01:07:00 -0500
commit0c2423043d2ba9979dca951a61473925edd2def6 (patch)
treeafe49c47995f94bc3cc3b4d0644b534f20641328 /doShow.go
parenteebba5eb3120611e8006bba2a7efde9352de48d6 (diff)
Exit() callback works
Diffstat (limited to 'doShow.go')
-rw-r--r--doShow.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/doShow.go b/doShow.go
index 5f4025f..1b11f2e 100644
--- a/doShow.go
+++ b/doShow.go
@@ -49,3 +49,16 @@ func doShow() (string, error) {
}
return footer, nil
}
+
+func showUrls() bool {
+ if argv.Show == nil {
+ return false
+ }
+ if argv.Show.Repo == nil {
+ return false
+ }
+ if argv.Show.Repo.Urls != nil {
+ return true
+ }
+ return false
+}