From bd65b4eb4516f15b24fd32d69959c173fa49c539 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 7 Jan 2025 21:16:57 -0600 Subject: [PATCH] old code --- http.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/http.go b/http.go index fdb9442..8e9c91a 100644 --- a/http.go +++ b/http.go @@ -6,7 +6,6 @@ import ( "os" "strings" - "go.wit.com/lib/gui/repostatus" "go.wit.com/log" ) @@ -99,16 +98,6 @@ func okHandler(w http.ResponseWriter, r *http.Request) { return } - if route == "/listGitDirectories" { - for i, path := range repostatus.ListGitDirectories() { - // log.Info("addRepo()", i, path) - path = strings.TrimPrefix(path, me.goSrcPwd.String()) - path = strings.Trim(path, "/") - log.Info(fmt.Sprintf("paths:", i, path)) - } - return - } - if route == "/repo" { reponame := r.URL.Query().Get("repo") if reponame == "" {