git_message_trailers

Parse trailers out of a message, filling the array pointed to by +arr+.

Trailers are key/value pairs in the last paragraph of a message, not including any patches or conflicts that may be present.

extern (C) nothrow @nogc
int
git_message_trailers

Parameters

arr .git_message_trailer_array*

A pre-allocated git_message_trailer_array struct to be filled in with any trailers found during parsing.

message const(char)*

The message to be parsed

Return Value

Type: int

0 on success, or non-zero on error.

Meta