Module trailer

Source
Expand description

Parsing trailers from commit messages.

Structs§

Trailer
A key-value pair representing a trailer in a commit message, of the form Key: Value.

Enums§

TrailerParseError

Functions§

parse_description_trailers
Parse the trailers from a commit message; these are simple key-value pairs, separated by a colon, describing extra information in a commit message; an example is the following:
parse_trailers
Parse the trailers from a trailer paragraph. This function behaves like parse_description_trailer, but will return an error if a blank or non trailer line is found.