git_config_iterator_glob_new

Iterate over all the config variables whose name matches a pattern

Use git_config_next to advance the iteration and git_config_iterator_free when done.

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_iterator_glob_new

Parameters

out_ .git_config_iterator**

pointer to store the iterator

cfg const(libgit2_d.types.git_config)*

where to ge the variables from

regexp const(char)*

regular expression to match the names

Meta