pub unsafe extern "C" fn svn_wc_walk_status(
wc_ctx: *mut svn_wc_context_t,
local_abspath: *const c_char,
depth: svn_depth_t,
get_all: svn_boolean_t,
no_ignore: svn_boolean_t,
ignore_text_mods: svn_boolean_t,
ignore_patterns: *const apr_array_header_t,
status_func: svn_wc_status_func4_t,
status_baton: *mut c_void,
cancel_func: svn_cancel_func_t,
cancel_baton: *mut c_void,
scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Walk the working copy status of @a local_abspath using @a wc_ctx, by creating #svn_wc_status3_t structures and sending these through @a status_func / @a status_baton.
- Assuming the target is a directory, then:
-
If @a get_all is FALSE, then only locally-modified entries will be returned. If TRUE, then all entries will be returned.
-
If @a ignore_text_mods is TRUE, then the walk will not check for modified files. Any #svn_wc_status3_t structures returned for files will always have a text_status field set to svn_wc_status_normal. If @a ignore_text_mods is FALSE, the walk checks for text changes and returns #svn_wc_status3_t structures describing any changes.
-
If @a depth is #svn_depth_empty, a status structure will be returned for the target only; if #svn_depth_files, for the target and its immediate file children; if #svn_depth_immediates, for the target and its immediate children; if #svn_depth_infinity, for the target and everything underneath it, fully recursively.
If @a depth is #svn_depth_unknown, take depths from the working copy and behave as above in each directory’s case.
If the given @a depth is incompatible with the depth found in a working copy directory, the found depth always governs.
If @a no_ignore is set, statuses that would typically be ignored will instead be reported.
@a ignore_patterns is an array of file patterns matching unversioned files to ignore for the purposes of status reporting, or @c NULL if the default set of ignorable file patterns should be used. Patterns from #SVN_PROP_IGNORE (and, as of 1.8, #SVN_PROP_INHERITABLE_IGNORES) properties are always used, even if not specified in @a ignore_patterns.
If @a cancel_func is non-NULL, call it with @a cancel_baton while walking to determine if the client has canceled the operation.
This function uses @a scratch_pool for temporary allocations.
@since New in 1.7.