submodule_foreach


Description:

public bool submodule_foreach (SubmoduleCallback callback) throws Error

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

a StatusCallback.

user_data

callback user data.

Returns:

true if there was no error, false otherwise




2022 vala-language.org