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

const git_signature *
In
sig

Returns

git_signature *

a copy of sig, NULL on out of memory

Versions