git_mailmap_from_buffer

Create a new mailmap instance containing a single mailmap file

extern (C) nothrow @nogc
int
git_mailmap_from_buffer
(,
const(char)* buf
,
size_t len
)

Parameters

out_ libgit2_d.types.git_mailmap**

pointer to store the new mailmap

buf const(char)*

buffer to parse the mailmap from

len size_t

the length of the input buffer

Return Value

Type: int

0 on success, or an error code

Meta