Class

GgitMailmap

Description [src]

final class Ggit.Mailmap : Ggit.Native {
  /* No available fields */
}

Represents a mailmap.

Ancestors

Constructors

ggit_mailmap_new

Creates a new GgitMailmap.

ggit_mailmap_new_from_repository

Creates a new GgitMailmap and loads mailmap files according to the configuration of repository.

Instance methods

ggit_mailmap_add_entry

Adds a new entry to mailmap, replacing replace_name and replace_email with real_name and real_email respectively. If replace_name is NULL, it is ignored during matching. If either real_name or real_email is NULL, the respective field is not replaced.

ggit_mailmap_resolve

Resolves replace_name and replace_email to real_name and real_email. If mailmap is NULL, no substitution is performed.

ggit_mailmap_resolve_signature

Resolves signature to use the real name and email according to mailmap. If mailmap is NULL, no substitution is performed, but a new signature is still allocated and returned.

Class structure

struct GgitMailmapClass {
  GgitNativeClass parent_class;
  
}
Class members
parent_class
GgitNativeClass
  No description available.