#[repr(C)]pub struct svn_diff_file_options_t {
pub ignore_space: svn_diff_file_ignore_space_t,
pub ignore_eol_style: svn_boolean_t,
pub show_c_function: svn_boolean_t,
pub context_size: c_int,
}
Expand description
Options to control the behaviour of the file diff routines.
@since New in 1.4.
@note This structure may be extended in the future, so to preserve binary compatibility, users must not allocate structs of this type themselves. @see svn_diff_file_options_create().
@note Although its name suggests otherwise, this structure is used to pass options to file as well as in-memory diff functions.
Fields§
§ignore_space: svn_diff_file_ignore_space_t
To what extent whitespace should be ignored when comparing lines. The default is @c svn_diff_file_ignore_space_none.
ignore_eol_style: svn_boolean_t
Whether to treat all end-of-line markers the same when comparing lines. The default is @c FALSE.
show_c_function: svn_boolean_t
Whether the “@@” lines of the unified diff output should include a prefix of the nearest preceding line that starts with a character that might be the initial character of a C language identifier. The default is @c FALSE. @since New in 1.5.
context_size: c_int
The number of context lines produced above and below modifications, if available. The number of context lines must be >= 0.
@since New in 1.9
Trait Implementations§
Source§impl Clone for svn_diff_file_options_t
impl Clone for svn_diff_file_options_t
Source§fn clone(&self) -> svn_diff_file_options_t
fn clone(&self) -> svn_diff_file_options_t
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more