git_object_dup

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

extern (C) nothrow @nogc
int
git_object_dup

Parameters

dest libgit2_d.types.git_object**

Pointer to store the copy of the object

source libgit2_d.types.git_object*

Original object to copy

Meta