libgit2

git_mailmap_from_buffer

Version:

Create a new mailmap instance containing a single mailmap file

Signature

int git_mailmap_from_buffer(git_mailmap **out, const char *buf, size_t len);

Parameters

In
out

pointer to store the new mailmap

const char *
In
buf

buffer to parse the mailmap from

size_t
In
len

the length of the input buffer

Returns

int

0 on success, or an error code

Versions