libgit2

git_config_next

Version:

Return the current entry and advance the iterator

The pointers returned by this function are valid until the next call to git_config_next or until the iterator is freed.

Signature

int git_config_next(git_config_entry **entry, git_config_iterator *iter);

Parameters

In
entry

pointer to store the entry

In
iter

the iterator

Returns

int

0 or an error code. GIT_ITEROVER if the iteration has completed

Versions