[−][src]Crate libgitmail
A library that can parse git-send-email generated email
Please note that this is not a general mail parser. It is specifically built to understand mail generated by git-send-email. For a more general mail parser, maybe look at mailparse or mail instead.
The important fields to get from a git email are the "In-Reply-To"
and "References" header. The structure
method returns the basic
structure of a pathset with a way to select specific parts of the
set to export. Look at the PatchSet
type for more information.
Modules
set | Various functions to work with assembled patch sets |
tree | Builder patterns to manipulate an unprocessed thread of patches |
Structs
Id | Message ID of an email in a thread |
Patch | A single patch, metadata and email body |
Segment | The segment data for a patch mail |
Subject | The typed subject line of a patch mail |
Enums
Error | A mail error type |
Type Definitions
Result |