Struct conserve::Restore
[−]
[src]
pub struct Restore { /* fields omitted */ }
Restore operation.
Call from_archive_path
then run
.
Methods
impl Restore
[src]
fn new(archive: &Archive, destination: &Path, report: &Report) -> Restore
fn force_overwrite(self, force: bool) -> Restore
fn band_id(self, band_id: Option<BandId>) -> Restore
fn run(self) -> Result<()>
Restore a version from the archive, according to parameters previously set on this object.
This will warn, but not fail, if the version is incomplete: this might mean only part of the source tree is copied back.