libgit2

git_tree_entry_2object

Version:

Convert a tree entry to the git_object it points too.

Signature

int git_tree_entry_2object(git_object **object, git_tree_entry *entry);

Parameters

git_object **
In
object

pointer to the converted object

git_tree_entry *
In
entry

a tree entry

Returns

int

a reference to the pointed object in the repository

Versions