libgit2

git_tree_entry_to_object

Version:

Convert a tree entry to the git_object it points too.

Signature

int git_tree_entry_to_object(git_object **object_out, git_repository *repo, const git_tree_entry *entry);

Parameters

In
object_out
In
repo

repository where to lookup the pointed object

In
entry

a tree entry

Returns

int

0 or an error code

Versions