Crate gix_mailmap

source
Expand description

Parse .mailmap files as used in git repositories and remap names and emails using an accelerated data-structure.

§Feature Flags

  • serde — Data structures implement serde::Serialize and serde::Deserialize.

Modules§

Structs§

  • An typical entry of a mailmap, which always contains an old_email by which the mapping is performed to replace the given new_name and new_email.
  • A data-structure to efficiently store a list of entries for optimal, case-insensitive lookup by email and optionally name to find mappings to new names and/or emails.

Functions§

  • Parse the given buf of bytes line by line into mapping Entries.
  • Similar to parse(), but will skip all lines that didn’t parse correctly, silently squelching all errors.