git_mailmap_resolve

Resolve a name and email to the corresponding real name and email.

The lifetime of the strings are tied to mm, name, and email parameters.

extern (C) nothrow @nogc public
int
git_mailmap_resolve
(
const(char)** real_name
,
const(char)** real_email
,,
const(char)* name
,
const(char)* email
)

Parameters

real_name const(char)**

pointer to store the real name

real_email const(char)**

pointer to store the real email

mm const(libgit2.types.git_mailmap)*

the mailmap to perform a lookup with (may be null)

name const(char)*

the name to look up

email const(char)*

the email to look up

Return Value

Type: int

0 on success, or an error code

Meta