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