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