Enum git2::DiffBinaryKind [] [src]

pub enum DiffBinaryKind {
    None,
    Literal,
    Delta,
}

When producing a binary diff, the binary data returned will be either the deflated full ("literal") contents of the file, or the deflated binary delta between the two sides (whichever is smaller).

Variants

None

There is no binary delta

Literal

The binary data is the literal contents of the file

Delta

The binary data is the delta from one side to the other

Trait Implementations

impl Debug for DiffBinaryKind
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for DiffBinaryKind
[src]

fn clone(&self) -> DiffBinaryKind

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

impl Copy for DiffBinaryKind
[src]