git_signature_new

Create a new action signature.

Call git_signature_free() to free the data.

Note: angle brackets ('<' and '>') characters are not allowed to be used in either the name or the email parameter.

extern (C) nothrow @nogc
int
git_signature_new

Parameters

out_ libgit2_d.types.git_signature**

new signature, in case of error null

name const(char)*

name of the person

email const(char)*

email of the person

time libgit2_d.types.git_time_t

time (in seconds from epoch) when the action happened

offset int

timezone offset (in minutes) for the time

Return Value

Type: int

0 or an error code

Meta