Struct git2::DiffBinaryFile [] [src]

pub struct DiffBinaryFile<'a> {
    // some fields omitted
}

The contents of one of the files in a binary diff.

Methods

impl<'a> DiffBinaryFile<'a>
[src]

fn kind(&self) -> DiffBinaryKind

The type of binary data for this file

fn data(&self) -> &[u8]

The binary data, deflated

fn inflated_len(&self) -> usize

The length of the binary data after inflation