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 anyhow::{bail, format_err, Error};
use crate::server::WorkerTask; use crate::{
use crate::api2::types::*; server::WorkerTask,
api2::types::*,
use super::{ backup::{
DataStore, DataBlob, BackupGroup, BackupDir, BackupInfo, IndexFile, DataStore,
CryptMode, DataBlob,
FileInfo, ArchiveType, archive_type, BackupGroup,
BackupDir,
BackupInfo,
IndexFile,
CryptMode,
FileInfo,
ArchiveType,
archive_type,
},
}; };
fn verify_blob(datastore: Arc<DataStore>, backup_dir: &BackupDir, info: &FileInfo) -> Result<(), Error> { fn verify_blob(datastore: Arc<DataStore>, backup_dir: &BackupDir, info: &FileInfo) -> Result<(), Error> {