git_tree_entry_byindex

Lookup a tree entry by its position in the tree

This returns a git_tree_entry that is owned by the git_tree. You don't have to free it, but you must not use it after the git_tree is released.

extern (C) nothrow @nogc
git_tree_entry_byindex

Parameters

tree const(libgit2_d.types.git_tree)*

a previously loaded tree.

idx size_t

the position in the entry list

Return Value

Type: const(libgit2_d.types.git_tree_entry)*

the tree entry; null if not found

Meta