aboutsummaryrefslogtreecommitdiffstats
path: root/cshared/tree_cshared.go
diff options
context:
space:
mode:
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 {