aboutsummaryrefslogtreecommitdiffstats
path: root/cshared/tree_cshared.go
diff options
context:
space:
mode:
authorVadim Markovtsev <gmarkhor@gmail.com>2016-07-09 01:16:13 +0300
committerMáximo Cuadros <mcuadros@gmail.com>2016-07-09 00:16:13 +0200
commitdc1e2bd485f8345c14cf7b22a5b71fd03028cfdf (patch)
treee8069982be7c0d7e9334b032579c5767f9f09e8f /cshared/tree_cshared.go
parent5e73f01cb2e027a8f02801635b79d3a9bc866914 (diff)
downloadgo-git-dc1e2bd485f8345c14cf7b22a5b71fd03028cfdf.tar.gz
Fix some bugs found during gypogit testing (#58)
Diffstat (limited to 'cshared/tree_cshared.go')
-rw-r--r--cshared/tree_cshared.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cshared/tree_cshared.go b/cshared/tree_cshared.go
index 0d4191c..e1f3ae1 100644
--- a/cshared/tree_cshared.go
+++ b/cshared/tree_cshared.go
@@ -39,6 +39,7 @@ func c_Tree_get_Hash(t uint64) *C.char {
return CBytes(tree.Hash[:])
}
+//export c_Tree_File
func c_Tree_File(t uint64, path string) (uint64, int, *C.char) {
obj, ok := GetObject(Handle(t))
if !ok {