aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/http/send_pack.go
diff options
context:
space:
mode:
Diffstat (limited to 'plumbing/transport/http/send_pack.go')
-rw-r--r--plumbing/transport/http/send_pack.go30
1 files changed, 0 insertions, 30 deletions
diff --git a/plumbing/transport/http/send_pack.go b/plumbing/transport/http/send_pack.go
deleted file mode 100644
index 43464ae..0000000
--- a/plumbing/transport/http/send_pack.go
+++ /dev/null
@@ -1,30 +0,0 @@
-package http
-
-import (
- "errors"
- "net/http"
-
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
-)
-
-var errSendPackNotSupported = errors.New("send-pack not supported yet")
-
-type sendPackSession struct {
- *session
-}
-
-func newSendPackSession(c *http.Client, ep transport.Endpoint) transport.SendPackSession {
- return &sendPackSession{&session{}}
-}
-
-func (s *sendPackSession) AdvertisedReferences() (*packp.AdvRefs, error) {
-
- return nil, errSendPackNotSupported
-}
-
-func (s *sendPackSession) SendPack(*packp.ReferenceUpdateRequest) (
- *packp.ReportStatus, error) {
-
- return nil, errSendPackNotSupported
-}