Documentation
¶
Overview ¶
Package mailmap implements a basic git mailmap parser. See this page: https://git-scm.com/docs/gitmailmap for additional context.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MailMap ¶
type MailMap map[NameAndEmail][]NameAndEmail
MailMap maps names and emails found in commits to "proper" names and emails. The map key is the "proper" pair, coresponding to a list of pairs to be matched.
func (MailMap) Lookup ¶
func (mm MailMap) Lookup(commitLookup NameAndEmail) NameAndEmail
Lookup receives a name/email pair and finds the first proper name/email pair
type NameAndEmail ¶
Click to show internal directories.
Click to hide internal directories.