Class for accessing a mailmap file.
Method __init__ Undocumented
Method add_entry Add an entry to the mail mail.
Method lookup Lookup an identity in this mailmail.
Class Method from_path Undocumented
def __init__(self, map=None):
Undocumented
def add_entry(self, canonical_identity, from_identity=None):

Add an entry to the mail mail.

Any of the fields can be None, but at least one of them needs to be set.

Parameterscanonical_identityThe canonical identity (tuple)
from_identityThe from identity (tuple)
def lookup(self, identity):
Lookup an identity in this mailmail.
@classmethod
def from_path(cls, path):
Undocumented
API Documentation for Dulwich, generated by pydoctor at 2018-11-17 19:05:54.