summaryrefslogtreecommitdiff
path: root/initRepoList.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-02 06:59:56 -0600
committerJeff Carr <[email protected]>2024-12-02 06:59:56 -0600
commit3895519f25a603b6b75b54c0d9ad57b7128045ac (patch)
tree0a0477f48af81bc54f804407b2925589e3303c1e /initRepoList.go
parent8afc4c713576b3509e15942dfd3dae5e8b8b8906 (diff)
start developing this for real
Diffstat (limited to 'initRepoList.go')
-rw-r--r--initRepoList.go27
1 files changed, 0 insertions, 27 deletions
diff --git a/initRepoList.go b/initRepoList.go
deleted file mode 100644
index ef3b319..0000000
--- a/initRepoList.go
+++ /dev/null
@@ -1,27 +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/autotypist")
-
- if args.OnlyMe {
- log.Info("not scanning everything")
- } else {
- 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)
- }
- }
-}