aboutsummaryrefslogtreecommitdiffstats
path: root/clients/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'clients/common.go')
-rw-r--r--clients/common.go10
1 files changed, 1 insertions, 9 deletions
diff --git a/clients/common.go b/clients/common.go
index 8003d07..fcbacf5 100644
--- a/clients/common.go
+++ b/clients/common.go
@@ -1,18 +1,10 @@
package clients
import (
- "io"
-
"gopkg.in/src-d/go-git.v2/clients/common"
"gopkg.in/src-d/go-git.v2/clients/http"
)
-type GitUploadPackService interface {
- Connect(url common.Endpoint) error
- Info() (*common.GitUploadPackInfo, error)
- Fetch(r *common.GitUploadPackRequest) (io.ReadCloser, error)
-}
-
-func NewGitUploadPackService() GitUploadPackService {
+func NewGitUploadPackService() common.GitUploadPackService {
return http.NewGitUploadPackService()
}