git_mailmap_new

Allocate a new mailmap object.

This object is empty, so you'll have to add a mailmap file before you can do anything with it. The mailmap must be freed with 'git_mailmap_free'.

extern (C) nothrow @nogc
int
git_mailmap_new

Parameters

out_ libgit2_d.types.git_mailmap**

pointer to store the new mailmap

Return Value

Type: int

0 on success, or an error code

Meta