Class
GgitMailmap
Description [src]
final class Ggit.Mailmap : Ggit.Native {
/* No available fields */
}
Represents a mailmap.
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.
Properties
Properties inherited from GgitNative (1)
Ggit.Native:native
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.