git_config_get_multivar_foreach

Get each value of a multivar in a foreach callback

The callback will be called on each variable found

The regular expression is applied case-sensitively on the normalized form of the variable name: the section and variable parts are lower-cased. The subsection is left unchanged.

extern (C) nothrow @nogc
int
git_config_get_multivar_foreach

Parameters

cfg const(libgit2_d.types.git_config)*

where to look for the variable

name const(char)*

the variable's name

regexp const(char)*

regular expression to filter which variables we're interested in. Use null to indicate all

callback .git_config_foreach_cb

the function to be called on each value of the variable

payload void*

opaque pointer to pass to the callback

Meta