diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-11-08 23:46:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-08 23:46:38 +0100 |
commit | ac095bb12c4d29722b60ba9f20590fa7cfa6bc7d (patch) | |
tree | 223f36f336ba3414b1e45cac8af6c4744a5d7ef6 /cshared/file_cshared.go | |
parent | e523701393598f4fa241dd407af9ff8925507a1a (diff) | |
download | go-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.go | 4 |
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)) |