svn_wc_status_set_repos_locks

Function svn_wc_status_set_repos_locks 

Source
pub unsafe extern "C" fn svn_wc_status_set_repos_locks(
    set_locks_baton: *mut c_void,
    locks: *mut apr_hash_t,
    repos_root: *const c_char,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Associate @a locks, a hash table mapping const char* absolute repository paths to svn_lock_t objects, with a @a set_locks_baton returned by an earlier call to svn_wc_get_status_editor3(). @a repos_root is the repository root URL. Perform all allocations in @a pool.

@note @a locks will not be copied, so it must be valid throughout the edit. @a pool must also not be destroyed or cleared before the edit is finished.

@since New in 1.2.