git_status_foreach_ext

Gather file status information and run callbacks as requested.

This is an extended version of the git_status_foreach() API that allows for more granular control over which paths will be processed and in what order. See the git_status_options structure for details about the additional controls that this makes available.

Note that if a pathspec is given in the git_status_options to filter the status, then the results from rename detection (if you enable it) may not be accurate. To do rename detection properly, this must be called with no pathspec so that all files can be considered.

@param repo Repository object @param opts Status options structure @param callback The function to call on each file @param payload Pointer to pass through to callback function @return 0 on success, non-zero callback return value, or error code

extern (C) nothrow @nogc
int
git_status_foreach_ext

Meta