summaryrefslogtreecommitdiff
path: root/initRepoList.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-29 22:21:58 -0600
committerJeff Carr <[email protected]>2024-11-29 22:21:58 -0600
commitf7c9af9537fcd0f0e4c1559868b48966acc0c995 (patch)
tree5e6175ae707193158ddb329e98a0617ac8df9b0d /initRepoList.go
parent24e942df16754df52ad6a921a56f66eeca00e3b1 (diff)
compiles again. doesn't work
Diffstat (limited to 'initRepoList.go')
-rw-r--r--initRepoList.go35
1 files changed, 0 insertions, 35 deletions
diff --git a/initRepoList.go b/initRepoList.go
deleted file mode 100644
index be01f1a..0000000
--- a/initRepoList.go
+++ /dev/null
@@ -1,35 +0,0 @@
-package main
-
-// this initializes the repos
-
-import (
- "strings"
-
- "go.wit.com/lib/gui/repostatus"
- "go.wit.com/log"
-)
-
-func (r *repoWindow) initRepoList() {
- r.View.InitRepoList(".config/guireleaser")
-
- log.Info("scanning everything in ~/go/src")
- for i, path := range repostatus.ListGitDirectories() {
- // log.Info("addRepo()", i, path)
- path = strings.TrimPrefix(path, me.goSrcPwd.String())
- path = strings.Trim(path, "/")
- log.Info("addRepo()", i, path)
- r.View.NewRepo(path)
- }
-}
-
-func (r *repoWindow) tmpRepoList() {
-
- log.Info("scanning everything in ~/go/src")
- for i, path := range repostatus.ListGitDirectories() {
- // log.Info("addRepo()", i, path)
- path = strings.TrimPrefix(path, me.goSrcPwd.String())
- path = strings.Trim(path, "/")
- log.Info("addRepo()", i, path)
- r.View.NewRepo(path)
- }
-}