Crate git_trailers

Source

Modules§

parser

Structs§

Display
DisplayMany
OwnedToken
OwnedTrailer
A version of the Trailer<’a> which owns it’s token and values. Useful for when you need to carry trailers around in a long lived data structure.
Token
Trailer

Enums§

Error
InvalidToken

Traits§

Separator

Functions§

display
Render a slice of trailers.
parse
Parse the trailers of the given message. It looks up the last paragraph of the message and attempts to parse each of its lines as a Trailer. Fails if no trailers paragraph is found or if at least one trailer fails to be parsed.