aboutsummaryrefslogtreecommitdiffstats
path: root/cshared/file_cshared.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-11-08 23:46:38 +0100
committerGitHub <noreply@github.com>2016-11-08 23:46:38 +0100
commitac095bb12c4d29722b60ba9f20590fa7cfa6bc7d (patch)
tree223f36f336ba3414b1e45cac8af6c4744a5d7ef6 /cshared/file_cshared.go
parente523701393598f4fa241dd407af9ff8925507a1a (diff)
downloadgo-git-ac095bb12c4d29722b60ba9f20590fa7cfa6bc7d.tar.gz
new plumbing package (#118)
* plumbing: now core was renamed to core, and formats and clients moved inside
Diffstat (limited to 'cshared/file_cshared.go')
-rw-r--r--cshared/file_cshared.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cshared/file_cshared.go b/cshared/file_cshared.go
index 8191289..8ef6427 100644
--- a/cshared/file_cshared.go
+++ b/cshared/file_cshared.go
@@ -6,7 +6,7 @@ import (
"io/ioutil"
"gopkg.in/src-d/go-git.v4"
- "gopkg.in/src-d/go-git.v4/core"
+ "gopkg.in/src-d/go-git.v4/plumbing"
)
//export c_File_get_Name
@@ -55,7 +55,7 @@ func c_File_Decode(o uint64) uint64 {
if !ok {
return IH
}
- cobj := obj.(*core.Object)
+ cobj := obj.(*plumbing.Object)
file := git.File{}
file.Decode(*cobj)
return uint64(RegisterObject(&file))