git_signature_from_buffer

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).

extern (C) nothrow @nogc
int
git_signature_from_buffer

Parameters

out_ libgit2_d.types.git_signature**

new signature

buf const(char)*

signature string

Return Value

Type: int

0 on success, or an error code

Meta