git_config_get_entry

Get the git_config_entry of a config variable.

Free the git_config_entry after use with git_config_entry_free().

extern (C) nothrow @nogc
int
git_config_get_entry

Parameters

out_ .git_config_entry**

pointer to the variable git_config_entry

cfg const(libgit2_d.types.git_config)*

where to look for the variable

name const(char)*

the variable's name

Return Value

Type: int

0 or an error code

Meta