summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-07-07 19:02:32 -0500
committerJeff Carr <[email protected]>2025-07-07 19:02:32 -0500
commite57f48e64994dabbd5c50173044f7d95f899c663 (patch)
treef247efce97eb20c61318976c7729cd6107820992 /http.go
parentcba9b430649fb345352c58b7f64aa1d39e673796 (diff)
manual git mergev0.0.6
Diffstat (limited to 'http.go')
-rw-r--r--http.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/http.go b/http.go
index ffbc5e3..c48a42c 100644
--- a/http.go
+++ b/http.go
@@ -49,14 +49,14 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
if err != nil {
return
}
- // marshal the protobuf to xfer over the socket
- data, err := found.Marshal()
- if err != nil {
- log.Info("repos.Marshal() to wire failed", err)
- return
- }
- w.Write(data)
+ /*
+ for repo := range repos.IterAll() {
+ repo.Namespace += "good"
+ log.Infof("repo:%s,%s\n", repo.Namespace, repo.FullPath)
+ }
+ */
+ found.SendPB(w)
return
}