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