submodule_foreach
Description:
Gathers submodules and run a callback for each one.
To the callback is passed the submodule instance and name. If the callback returns something other than 0, the iteration will stop and throws will be set.
NOTE: the submodule instance passed to the callback is only valid during the call to ggit_repository_submodule_foreach and may not be used after the call has finished.
Parameters:
this |
a Repository. |
callback | |
user_data |
callback user data. |
Returns:
true if there was no error, false otherwise |