This commit is contained in:
Jeff Carr 2025-01-07 21:16:57 -06:00
parent 3fb30bb11b
commit bd65b4eb45
1 changed files with 0 additions and 11 deletions

11
http.go
View File

@ -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 == "" {