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 public
int
git_tree_dup

Parameters

out_ libgit2.types.git_tree**

Pointer to store the copy of the tree

source libgit2.types.git_tree*

Original tree to copy

Return Value

Type: int

0

Meta