diff options
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) + } +} |
