From f7c9af9537fcd0f0e4c1559868b48966acc0c995 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 29 Nov 2024 22:21:58 -0600 Subject: compiles again. doesn't work --- initRepoList.go | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 initRepoList.go (limited to 'initRepoList.go') 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) - } -} -- cgit v1.2.3