rename PxarBackupWriter into PxarDecodeWriter

This commit is contained in:
Dietmar Maurer
2019-03-15 07:20:22 +01:00
parent b005ed12d5
commit 5defa71bf9
2 changed files with 10 additions and 9 deletions

View File

@ -552,7 +552,7 @@ fn restore(
println!("DOWNLOAD FILE {} to {}", path, target);
let target = PathBuf::from(target);
let writer = PxarBackupWriter::new(&target, true)?;
let writer = PxarDecodeWriter::new(&target, true)?;
client.download(&path, Box::new(writer))?;
} else {
bail!("unknown file extensions - unable to download '{}'", archive_name);