rm old code
This commit is contained in:
parent
5e71dd3ecc
commit
607886cc6a
|
@ -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
|
||||
}
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue