pub unsafe extern "C" fn svn_repos_fs_get_locks2(
locks: *mut *mut apr_hash_t,
repos: *mut svn_repos_t,
path: *const c_char,
depth: svn_depth_t,
authz_read_func: svn_repos_authz_func_t,
authz_read_baton: *mut c_void,
pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Look up all the locks in and under @a path in @a repos, setting @a *locks to a hash which maps const char * paths to the #svn_lock_t locks associated with those paths. Use @a authz_read_func and @a authz_read_baton to “screen” all returned locks. That is: do not return any locks on any paths that are unreadable in HEAD, just silently omit them.
@a depth limits the returned 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.
@since New in 1.7.