Struct libpijul::patch::Patch
[−]
[src]
pub struct Patch { pub version: u64, pub header: PatchHeader, pub dependencies: Vec<Hash>, pub changes: Vec<Change>, }
Fields
version: u64
header: PatchHeader
dependencies: Vec<Hash>
changes: Vec<Change>
Methods
impl Patch
[src]
fn empty() -> Patch
fn size_upper_bound(&self) -> usize
fn from_reader_compressed<R: BufRead>(r: &mut R)
-> Result<(Hash, Vec<u8>, Patch), Error>
-> Result<(Hash, Vec<u8>, Patch), Error>
fn to_writer(&self, w: &mut Write) -> Result<(), Error>
fn save<P: AsRef<Path>>(&self, dir: P) -> Result<Hash, Error>
Methods from Deref<Target=PatchHeader>
Trait Implementations
impl Debug for Patch
[src]
impl Deref for Patch
[src]
type Target = PatchHeader
The resulting type after dereferencing
fn deref(&self) -> &Self::Target
The method called to dereference a value