ConfigIterator.create AsyncExperimental

ConfigIterator.create(cfg).then(function(configIterator) {
  // Use configIterator
});
Parameters Type  
cfg Config where to ge the variables from
Returns  
ConfigIterator  

ConfigIterator.createGlob AsyncExperimental

ConfigIterator.createGlob(cfg, regexp).then(function(configIterator) {
  // Use configIterator
});
Parameters Type  
cfg Config where to ge the variables from
regexp String regular expression to match the names
Returns  
ConfigIterator  

ConfigIterator.createMultivar AsyncExperimental

ConfigIterator.createMultivar(cfg, name, regexp).then(function(configIterator) {
  // Use configIterator
});
Parameters Type  
cfg Config where to look for the variable
name String the variable’s name
regexp String regular expression to filter which variables we’re interested in. Use NULL to indicate all
Returns  
ConfigIterator  

ConfigIterator#next SyncExperimental

var result = configIterator.next(entry);
Parameters Type  
entry ConfigEntry pointer to store the entry
Returns  
Number 0 or an error code. GIT_ITEROVER if the iteration has completed