func (tree *Tree) EntryCount() uint { return uint(C.git_tree_entrycount(tree.git_tree)) }
func (t Tree) EntryCount() uint64 { num := C.git_tree_entrycount(t.cast_ptr) return uint64(num) }
func (t *Tree) EntryCount() int { num := C.git_tree_entrycount(t.git_tree) return int(num) }