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

In
object

pointer to the converted object

In
entry

a tree entry

Returns

int

a reference to the pointed object in the repository

Versions