git_tree_entry_dup

Duplicate a tree entry

Create a copy of a tree entry. The returned copy is owned by the user, and must be freed explicitly with git_tree_entry_free().

extern (C) nothrow @nogc
int
git_tree_entry_dup

Parameters

dest libgit2_d.types.git_tree_entry**

pointer where to store the copy

source const(libgit2_d.types.git_tree_entry)*

tree entry to duplicate

Return Value

Type: int

0 or an error code

Meta