summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}
+*/