aboutsummaryrefslogtreecommitdiffstats
path: root/cshared/tree_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/tree_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/tree_cshared.go')
-rw-r--r--cshared/tree_cshared.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cshared/tree_cshared.go b/cshared/tree_cshared.go
index 4974904..8533f60 100644
--- a/cshared/tree_cshared.go
+++ b/cshared/tree_cshared.go
@@ -10,7 +10,7 @@ package main
import (
//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:7
"gopkg.in/src-d/go-git.v4"
- "gopkg.in/src-d/go-git.v4/core"
+ "gopkg.in/src-d/go-git.v4/plumbing"
)
//line /home/mcuadros/workspace/go/src/gopkg.in/src-d/go-git.v4/cshared/tree_cshared.go:13
@@ -99,7 +99,7 @@ func c_Tree_Decode(o uint64) (uint64, int, *_Ctype_char) {
if !ok {
return IH, ErrorCodeNotFound, _Cfunc_CString(MessageNotFound)
}
- cobj := obj.(*core.Object)
+ cobj := obj.(*plumbing.Object)
tree := git.Tree{}
err := tree.Decode(*cobj)
if err != nil {