svn_wc_restore

Function svn_wc_restore 

Source
pub unsafe extern "C" fn svn_wc_restore(
    wc_ctx: *mut svn_wc_context_t,
    local_abspath: *const c_char,
    use_commit_times: svn_boolean_t,
    scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Restores a missing node, @a local_abspath using the @a wc_ctx. Records the new last modified time of the file for status processing.

If @a use_commit_times is TRUE, then set restored files’ timestamps to their last-commit-times.

Returns SVN_ERROR_WC_PATH_NOT_FOUND if LOCAL_ABSPATH is not versioned and SVN_ERROR_WC_PATH_UNEXPECTED_STATUS if LOCAL_ABSPATH is in a status where it can’t be restored.

@since New in 1.7.