src/backup/verify.rs: cleanup use clause

This commit is contained in:
Dietmar Maurer 2020-09-26 10:23:44 +02:00
parent 636e674ee7
commit ee7a308de4
1 changed files with 15 additions and 7 deletions

View File

@ -5,13 +5,21 @@ use std::time::Instant;
use anyhow::{bail, format_err, Error};
use crate::server::WorkerTask;
use crate::api2::types::*;
use super::{
DataStore, DataBlob, BackupGroup, BackupDir, BackupInfo, IndexFile,
CryptMode,
FileInfo, ArchiveType, archive_type,
use crate::{
server::WorkerTask,
api2::types::*,
backup::{
DataStore,
DataBlob,
BackupGroup,
BackupDir,
BackupInfo,
IndexFile,
CryptMode,
FileInfo,
ArchiveType,
archive_type,
},
};
fn verify_blob(datastore: Arc<DataStore>, backup_dir: &BackupDir, info: &FileInfo) -> Result<(), Error> {