svn_wc_text_modified_p2

Function svn_wc_text_modified_p2 

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

Set @a *modified_p to non-zero if @a local_abspath’s text is modified with regard to the base revision, else set @a *modified_p to zero. @a local_abspath is the absolute path to the file.

This function uses some heuristics to avoid byte-by-byte comparisons against the base text (eg. file size and its modification time).

If @a local_abspath does not exist, consider it unmodified. If it exists but is not under revision control (not even scheduled for addition), return the error #SVN_ERR_ENTRY_NOT_FOUND.

@a unused is ignored.

@since New in 1.7.