src/backup/verify.rs: cleanup use clause
This commit is contained in:
parent
636e674ee7
commit
ee7a308de4
|
@ -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,
|
||||||
|
DataBlob,
|
||||||
|
BackupGroup,
|
||||||
|
BackupDir,
|
||||||
|
BackupInfo,
|
||||||
|
IndexFile,
|
||||||
CryptMode,
|
CryptMode,
|
||||||
FileInfo, ArchiveType, archive_type,
|
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> {
|
||||||
|
|
Loading…
Reference in New Issue