Enum git2::DiffFormat [] [src]

pub enum DiffFormat {
    Patch,
    PatchHeader,
    Raw,
    NameOnly,
    NameStatus,
}

Possible output formats for diff data

Variants

full git diff

just the headers of the patch

like git diff --raw

like git diff --name-only

like git diff --name-status

Trait Implementations

impl Copy for DiffFormat
[src]

impl Clone for DiffFormat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more