move src/backup/snapshot_reader.rs to pbs_datastore crate
This commit is contained in:
@ -11,8 +11,7 @@ use pbs_tape::{
|
||||
PROXMOX_TAPE_BLOCK_SIZE,
|
||||
TapeWrite, MediaContentHeader,
|
||||
};
|
||||
|
||||
use crate::backup::SnapshotReader;
|
||||
use pbs_datastore::SnapshotReader;
|
||||
|
||||
use crate::tape::file_formats::{
|
||||
PROXMOX_BACKUP_SNAPSHOT_ARCHIVE_MAGIC_1_1,
|
||||
|
@ -19,11 +19,10 @@ use pbs_tape::{
|
||||
TapeWrite,
|
||||
sg_tape::tape_alert_flags_critical,
|
||||
};
|
||||
use pbs_datastore::DataStore;
|
||||
use pbs_datastore::{DataStore, SnapshotReader};
|
||||
use proxmox_rest_server::WorkerTask;
|
||||
|
||||
use crate::{
|
||||
backup::SnapshotReader,
|
||||
tape::{
|
||||
TAPE_STATUS_DIR,
|
||||
MAX_CHUNK_ARCHIVE_SIZE,
|
||||
|
@ -3,9 +3,8 @@ use std::sync::{Arc, Mutex};
|
||||
|
||||
use anyhow::{format_err, Error};
|
||||
|
||||
use pbs_datastore::{DataStore, DataBlob};
|
||||
use pbs_datastore::{DataStore, DataBlob, 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