move src/backup/datastore.rs into pbs_datastore crate
This commit is contained in:
@ -7,17 +7,14 @@ use std::time::Instant;
|
||||
use anyhow::{bail, format_err, Error};
|
||||
|
||||
use pbs_api_types::{Authid, CryptMode, VerifyState, UPID, SnapshotVerifyState};
|
||||
use pbs_datastore::{DataBlob, StoreProgress};
|
||||
use pbs_datastore::{DataStore, DataBlob, StoreProgress};
|
||||
use pbs_datastore::backup_info::{BackupGroup, BackupDir, BackupInfo};
|
||||
use pbs_datastore::index::IndexFile;
|
||||
use pbs_datastore::manifest::{archive_type, ArchiveType, BackupManifest, FileInfo};
|
||||
use pbs_tools::fs::lock_dir_noblock_shared;
|
||||
use pbs_tools::{task_log, task::WorkerTaskContext};
|
||||
|
||||
use crate::{
|
||||
backup::DataStore,
|
||||
tools::ParallelHandler,
|
||||
};
|
||||
use crate::tools::ParallelHandler;
|
||||
|
||||
/// A VerifyWorker encapsulates a task worker, datastore and information about which chunks have
|
||||
/// already been verified or detected as corrupt.
|
||||
|
Reference in New Issue
Block a user