git_tree_entry_to_object

Convert a tree entry to the git_object it points to.

You must call git_object_free() on the object when you are done with it.

extern (C) nothrow @nogc
int
git_tree_entry_to_object

Parameters

object_out libgit2_d.types.git_object**

pointer to the converted object

repo libgit2_d.types.git_repository*

repository where to lookup the pointed object

entry const(libgit2_d.types.git_tree_entry)*

a tree entry

Return Value

Type: int

0 or an error code

Meta