git_signature_dup

Create a copy of an existing signature. All internal strings are also duplicated.

Call git_signature_free() to free the data.

extern (C) nothrow @nogc
int
git_signature_dup

Parameters

dest libgit2_d.types.git_signature**

pointer where to store the copy

sig const(libgit2_d.types.git_signature)*

signature to duplicate

Return Value

Type: int

0 or an error code

Meta