Trait conserve::WriteTree [] [src]

pub trait WriteTree {
    fn finish(&mut self) -> Result<()>;
fn write_dir(&mut self, entry: &Entry) -> Result<()>;
fn write_symlink(&mut self, entry: &Entry) -> Result<()>;
fn write_file(&mut self, entry: &Entry, content: &mut Read) -> Result<()>; }

A tree open for writing, either local or an an archive.

This isn't a sub-trait of ReadTree since a backup band can't be read while writing is still underway.

Entries must be written in Apath order, since that's a requirement of the index.

Required Methods

Implementors