Struct git2::DiffDelta [] [src]

pub struct DiffDelta<'a> {
    // some fields omitted
}

Description of changes to one entry.

Methods

impl<'a> DiffDelta<'a>
[src]

fn nfiles(&self) -> u16

Returns the number of files in this delta.

fn status(&self) -> Delta

Returns the status of this entry

For more information, see Delta's documentation

fn old_file(&self) -> DiffFile<'a>

Return the file which represents the "from" side of the diff.

What side this means depends on the function that was used to generate the diff and will be documented on the function itself.

fn new_file(&self) -> DiffFile<'a>

Return the file which represents the "to" side of the diff.

What side this means depends on the function that was used to generate the diff and will be documented on the function itself.