summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-08 04:44:51 -0500
committerJeff Carr <[email protected]>2025-09-08 04:44:51 -0500
commit607886cc6af339db236909f1708248f14cb4bde1 (patch)
tree95899241da5ad1f1065de2ca5e74f0d2fbfd3607
parent5e71dd3ecc32d2eb2c81825c7c14e4cc6e1c747d (diff)
rm old codev0.0.25
-rw-r--r--handlePatches.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/handlePatches.go b/handlePatches.go
index a968b7b..966f709 100644
--- a/handlePatches.go
+++ b/handlePatches.go
@@ -2,7 +2,6 @@ package main
import (
"net/http"
- "strings"
"go.wit.com/lib/protobuf/forgepb"
"go.wit.com/lib/protobuf/gitpb"
@@ -48,6 +47,7 @@ func sendPendingPatchsets(pb *forgepb.Patchsets, reqPB *httppb.HttpRequest) *for
return allPatchsetsPB
}
+/*
func handlePatches(w http.ResponseWriter, pb *forgepb.Patches) error {
route := pb.HttpRequest.Route
@@ -61,6 +61,7 @@ func handlePatches(w http.ResponseWriter, pb *forgepb.Patches) error {
return nil
}
+*/
func makeReposPB(reqPB *httppb.HttpRequest) (*gitpb.Repos, error) {
pb := gitpb.NewRepos()
@@ -85,6 +86,7 @@ func sendPatchesError(w http.ResponseWriter, r *forgepb.Patches, err error) erro
return nil
}
+/*
func marshalPatchesPB(r *http.Request, msg []byte) (*forgepb.Patches, error) {
pb := forgepb.NewPatches()
@@ -98,3 +100,4 @@ func marshalPatchesPB(r *http.Request, msg []byte) (*forgepb.Patches, error) {
pb.AddHttpToPB(r)
return pb, nil
}
+*/