Enum git2::DiffFormat
[−]
[src]
pub enum DiffFormat { Patch, PatchHeader, Raw, NameOnly, NameStatus, }
Possible output formats for diff data
Variants
Patch
full git diff
PatchHeader
just the headers of the patch
Raw
like git diff --raw
NameOnly
like git diff --name-only
NameStatus
like git diff --name-status
Trait Implementations
impl Copy for DiffFormat
[src]
impl Clone for DiffFormat
[src]
fn clone(&self) -> DiffFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more