libgit2

git_config_iterator_new

Version:

Iterate over all the config variables

Use git_config_next to advance the iteration and git_config_iterator_free when done.

Signature

int git_config_iterator_new(git_config_iterator **out, const git_config *cfg);

Parameters

In
out

pointer to store the iterator

In
cfg

where to ge the variables from

Returns

int

Versions