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

Derived Implementations

impl Clone for DiffFormat

fn clone(&self) -> DiffFormat

fn clone_from(&mut self, source: &Self)

impl Copy for DiffFormat