git_tree_dup

Create an in-memory copy of a tree. The copy must be explicitly free'd or it will leak.

extern (C) nothrow @nogc
int
git_tree_dup

Parameters

out_ libgit2_d.types.git_tree**

Pointer to store the copy of the tree

source libgit2_d.types.git_tree*

Original tree to copy

Meta