fn diff_file(
    display_path: &str,
    lhs_path: &Path,
    rhs_path: &Path,
    missing_as_empty: bool,
    node_limit: u32,
    byte_limit: usize,
) -> DiffResult {
    let (lhs_bytes, rhs_bytes) = read_files_or_die(lhs_path, rhs_path, missing_as_empty);
    diff_file_content(display_path, &lhs_bytes, &rhs_bytes, node_limit, byte_limit)
}
/// Print a diff between two files.
Print a diff between two files.
Print a diff between two files .
fn diff_file(
    display_path: &str,
    lhs_path: &Path,
    rhs_path: &Path,
    missing_as_empty: bool,
    node_limit: u32,
    byte_limit: usize,
) -> DiffResult {
    let (lhs_bytes, rhs_bytes) = read_files_or_die(lhs_path, rhs_path, missing_as_empty);
    diff_file_content(display_path, &lhs_bytes, &rhs_bytes, node_limit, byte_limit)
}
fn diff_file ( display_path : & str , lhs_path : & Path , rhs_path : & Path , missing_as_empty : bool , node_limit : u32 , byte_limit : usize , ) -> DiffResult { let ( lhs_bytes , rhs_bytes ) = read_files_or_die ( lhs_path , rhs_path , missing_as_empty ) ; diff_file_content ( display_path , & lhs_bytes , & rhs_bytes , node_limit , byte_limit ) }
Print a diff between two files.
Print a diff between two files .
display_path
&str
lhs_path
&Path
rhs_path
&Path
missing_as_empty
bool
node_limit
u32
byte_limit
usize