From ac095bb12c4d29722b60ba9f20590fa7cfa6bc7d Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Tue, 8 Nov 2016 23:46:38 +0100 Subject: new plumbing package (#118) * plumbing: now core was renamed to core, and formats and clients moved inside --- cshared/file_cshared.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cshared/file_cshared.go') 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)) -- cgit