libgit2

git_signature_dup

Version:

Create a copy of an existing signature.

All internal strings are also duplicated. \sig signature to duplicated

Signature

git_signature *git_signature_dup(const git_signature *sig);

Parameters

Returns

a copy of sig, NULL on out of memory

Versions