Struct git2::DiffDelta
[−]
[src]
pub struct DiffDelta<'a> { /* fields omitted */ }
Description of changes to one entry.
Methods
impl<'a> DiffDelta<'a>
[src]
fn nfiles(&self) -> u16
[src]
Returns the number of files in this delta.
fn status(&self) -> Delta
[src]
Returns the status of this entry
For more information, see Delta
's documentation
fn old_file(&self) -> DiffFile<'a>
[src]
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>
[src]
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.