summaryrefslogtreecommitdiff
path: root/initRepoList.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-05 01:44:24 -0600
committerJeff Carr <[email protected]>2024-11-05 01:44:24 -0600
commita72c700f6336da2dd33d5559c8451ccab97172df (patch)
tree8de17ebb874f1e02ebddecbb73dfb8544b645426 /initRepoList.go
parentd3cc4d6a154680e2ff1463ff2d1d3687fef82c1a (diff)
got a temp window to work as a workaround
Diffstat (limited to 'initRepoList.go')
-rw-r--r--initRepoList.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/initRepoList.go b/initRepoList.go
index 454b3c5..be01f1a 100644
--- a/initRepoList.go
+++ b/initRepoList.go
@@ -21,3 +21,15 @@ func (r *repoWindow) initRepoList() {
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)
+ }
+}