Retrieve a tree entry contained in a tree or in any of its subtrees, given its relative path.
Unlike the other lookup functions, the returned tree entry is owned by the user and must be freed explicitly with git_tree_entry_free().
Pointer where to store the tree entry
Previously loaded tree which is the root of the relative path
Path to the contained entry
0 on success; git_error_code.GIT_ENOTFOUND if the path does not exist
See Implementation
Retrieve a tree entry contained in a tree or in any of its subtrees, given its relative path.
Unlike the other lookup functions, the returned tree entry is owned by the user and must be freed explicitly with git_tree_entry_free().