file_status_foreach


Description:

public bool file_status_foreach (StatusOptions? options, StatusCallback callback) throws Error

Gathers file statuses and run a callback for each one.

To the callback is passed the path of the file, the status and the data pointer passed to this function. If the callback returns something other than 0, the iteration will stop and throws will be set.

Set options to null to get the default status options.

Parameters:

this

a Repository.

options

status options, or null.

callback

a StatusCallback.

user_data

callback user data.

Returns:

true if there was no error, false otherwise