diff options
| author | Jeff Carr <[email protected]> | 2024-11-05 01:44:24 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-05 01:44:24 -0600 |
| commit | a72c700f6336da2dd33d5559c8451ccab97172df (patch) | |
| tree | 8de17ebb874f1e02ebddecbb73dfb8544b645426 /initRepoList.go | |
| parent | d3cc4d6a154680e2ff1463ff2d1d3687fef82c1a (diff) | |
got a temp window to work as a workaround
Diffstat (limited to 'initRepoList.go')
| -rw-r--r-- | initRepoList.go | 12 |
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) + } +} |
