aboutsummaryrefslogtreecommitdiffstats
path: root/clients/file/git_upload_pack.go
diff options
context:
space:
mode:
Diffstat (limited to 'clients/file/git_upload_pack.go')
-rw-r--r--clients/file/git_upload_pack.go29
1 files changed, 29 insertions, 0 deletions
diff --git a/clients/file/git_upload_pack.go b/clients/file/git_upload_pack.go
new file mode 100644
index 0000000..34ee958
--- /dev/null
+++ b/clients/file/git_upload_pack.go
@@ -0,0 +1,29 @@
+package file
+
+import (
+ "io"
+
+ "gopkg.in/src-d/go-git.v2/clients/common"
+)
+
+type GitUploadPackService struct{}
+
+func NewGitUploadPackService() *GitUploadPackService {
+ return &GitUploadPackService{}
+}
+
+func (s *GitUploadPackService) Connect(url common.Endpoint) error {
+ return nil
+}
+
+func (s *GitUploadPackService) ConnectWithAuth(url common.Endpoint, auth common.AuthMethod) error {
+ return nil
+}
+
+func (s *GitUploadPackService) Info() (*common.GitUploadPackInfo, error) {
+ return nil, nil
+}
+
+func (s *GitUploadPackService) Fetch(r *common.GitUploadPackRequest) (io.ReadCloser, error) {
+ return nil, nil
+}