libgit2_d.signature

Undocumented in source.

Members

Functions

git_signature_default
int git_signature_default(libgit2_d.types.git_signature** out_, libgit2_d.types.git_repository* repo)

Create a new action signature with default user and now timestamp.

git_signature_dup
int git_signature_dup(libgit2_d.types.git_signature** dest, const(libgit2_d.types.git_signature)* sig)

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

git_signature_free
void git_signature_free(libgit2_d.types.git_signature* sig)

Free an existing signature.

git_signature_from_buffer
int git_signature_from_buffer(libgit2_d.types.git_signature** out_, const(char)* buf)

Create a new signature by parsing the given buffer, which is expected to be in the format "Real Name <email> timestamp tzoffset", where timestamp is the number of seconds since the Unix epoch and tzoffset is the timezone offset in hhmm format (note the lack of a colon separator).

git_signature_new
int git_signature_new(libgit2_d.types.git_signature** out_, const(char)* name, const(char)* email, libgit2_d.types.git_time_t time, int offset)

Create a new action signature.

git_signature_now
int git_signature_now(libgit2_d.types.git_signature** out_, const(char)* name, const(char)* email)

Create a new action signature with a timestamp of 'now'.

Meta