svn_fs_get_locks2

Function svn_fs_get_locks2 

Source
pub unsafe extern "C" fn svn_fs_get_locks2(
    fs: *mut svn_fs_t,
    path: *const c_char,
    depth: svn_depth_t,
    get_locks_func: svn_fs_get_locks_callback_t,
    get_locks_baton: *mut c_void,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Report locks on or below @a path in @a fs using the @a get_locks_func / @a get_locks_baton. Use @a pool for necessary allocations.

@a depth limits the reported locks to those associated with paths within the specified depth of @a path, and must be one of the following values: #svn_depth_empty, #svn_depth_files, #svn_depth_immediates, or #svn_depth_infinity.

If the @a get_locks_func callback implementation returns an error, lock iteration will terminate and that error will be returned by this function.

@note Over the course of this function’s invocation, locks might be added, removed, or modified by concurrent processes. Callers need to anticipate and gracefully handle the transience of this information.

@since New in 1.7.