git_reference_dup

Create a copy of an existing reference.

Call git_reference_free to free the data.

extern (C) nothrow @nogc
int
git_reference_dup

Parameters

dest libgit2_d.types.git_reference**

pointer where to store the copy

source libgit2_d.types.git_reference*

object to copy

Return Value

Type: int

0 or an error code

Meta