git_config_iterator

Every iterator must have this struct as its first element, so the API can talk to it. You'd define your iterator as

struct my_iterator { .git_config_iterator parent; ... }

and assign iter->parent.backend to your git_config_backend.

Members

Variables

backend
.git_config_backend* backend;
Undocumented in source.
flags
uint flags;
Undocumented in source.
free
void function(.git_config_iterator* iter) free;

Free the iterator

next
int function(libgit2_d.config.git_config_entry** entry, .git_config_iterator* iter) next;

Return the current entry and advance the iterator. The memory belongs to the library.

Meta