aboutsummaryrefslogtreecommitdiffstats
path: root/clients/common.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2015-10-23 02:26:15 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2015-10-23 02:26:15 +0200
commite1d8866ffa78fa16d2f39b0ba5344a7269ee5371 (patch)
tree4602b0ca341187aad77048f807cde423af410554 /clients/common.go
parent2275fa7d0c75d20103f90b0e1616937d5a9fc5e6 (diff)
downloadgo-git-e1d8866ffa78fa16d2f39b0ba5344a7269ee5371.tar.gz
clients and remote: fetch implementation
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 {