pub unsafe extern "C" fn svn_fs_get_locks(
fs: *mut svn_fs_t,
path: *const c_char,
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
Similar to svn_fs_get_locks2(), but with @a depth always passed as svn_depth_infinity, and with the following known problem (which is not present in svn_fs_get_locks2()):
@note On Berkeley-DB-backed filesystems in Subversion 1.6 and prior, the @a get_locks_func callback will be invoked from within a Berkeley-DB transaction trail. Implementors of the callback are, as a result, forbidden from calling any svn_fs API functions which might themselves attempt to start a new Berkeley DB transaction (which is most of this svn_fs API). Yes, this is a nasty implementation detail to have to be aware of.
@deprecated Provided for backward compatibility with the 1.6 API.