move src/backup/datastore.rs into pbs_datastore crate
This commit is contained in:
@ -19,10 +19,11 @@ use pbs_tape::{
|
||||
TapeWrite,
|
||||
sg_tape::tape_alert_flags_critical,
|
||||
};
|
||||
use pbs_datastore::DataStore;
|
||||
use proxmox_rest_server::WorkerTask;
|
||||
|
||||
use crate::{
|
||||
backup::{DataStore, SnapshotReader},
|
||||
backup::SnapshotReader,
|
||||
tape::{
|
||||
TAPE_STATUS_DIR,
|
||||
MAX_CHUNK_ARCHIVE_SIZE,
|
||||
|
@ -3,9 +3,9 @@ use std::sync::{Arc, Mutex};
|
||||
|
||||
use anyhow::{format_err, Error};
|
||||
|
||||
use pbs_datastore::DataBlob;
|
||||
use pbs_datastore::{DataStore, DataBlob};
|
||||
|
||||
use crate::backup::{DataStore, SnapshotReader};
|
||||
use crate::backup::SnapshotReader;
|
||||
use crate::tape::CatalogSet;
|
||||
|
||||
/// Chunk iterator which use a separate thread to read chunks
|
||||
|
Reference in New Issue
Block a user