move src/tape/helpers/snapshot_reader.rs to src/backup/snapshot_reader.rs
This commit is contained in:
parent
51a2d9e375
commit
cef5c72682
|
@ -35,14 +35,13 @@ use crate::{
|
|||
compute_schedule_status,
|
||||
},
|
||||
},
|
||||
backup::DataStore,
|
||||
backup::{DataStore, SnapshotReader},
|
||||
server::WorkerTask,
|
||||
tape::{
|
||||
TAPE_STATUS_DIR,
|
||||
Inventory,
|
||||
PoolWriter,
|
||||
MediaPool,
|
||||
SnapshotReader,
|
||||
drive::{
|
||||
media_changer,
|
||||
lock_tape_device,
|
||||
|
|
|
@ -12,3 +12,6 @@ pub use datastore::*;
|
|||
|
||||
mod verify;
|
||||
pub use verify::*;
|
||||
|
||||
mod snapshot_reader;
|
||||
pub use snapshot_reader::SnapshotReader;
|
||||
|
|
|
@ -12,12 +12,11 @@ use pbs_tape::{
|
|||
TapeWrite, MediaContentHeader,
|
||||
};
|
||||
|
||||
use crate::tape::{
|
||||
SnapshotReader,
|
||||
file_formats::{
|
||||
PROXMOX_BACKUP_SNAPSHOT_ARCHIVE_MAGIC_1_1,
|
||||
SnapshotArchiveHeader,
|
||||
},
|
||||
use crate::backup::SnapshotReader;
|
||||
|
||||
use crate::tape::file_formats::{
|
||||
PROXMOX_BACKUP_SNAPSHOT_ARCHIVE_MAGIC_1_1,
|
||||
SnapshotArchiveHeader,
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
mod snapshot_reader;
|
||||
pub use snapshot_reader::*;
|
|
@ -14,9 +14,6 @@ mod test;
|
|||
|
||||
pub mod file_formats;
|
||||
|
||||
mod helpers;
|
||||
pub use helpers::*;
|
||||
|
||||
mod media_set;
|
||||
pub use media_set::*;
|
||||
|
||||
|
|
|
@ -21,15 +21,12 @@ use pbs_tape::{
|
|||
};
|
||||
|
||||
use crate::{
|
||||
backup::{
|
||||
DataStore,
|
||||
},
|
||||
backup::{DataStore, SnapshotReader},
|
||||
server::WorkerTask,
|
||||
tape::{
|
||||
TAPE_STATUS_DIR,
|
||||
MAX_CHUNK_ARCHIVE_SIZE,
|
||||
COMMIT_BLOCK_SIZE,
|
||||
SnapshotReader,
|
||||
MediaPool,
|
||||
MediaId,
|
||||
MediaCatalog,
|
||||
|
|
|
@ -5,13 +5,8 @@ use anyhow::{format_err, Error};
|
|||
|
||||
use pbs_datastore::DataBlob;
|
||||
|
||||
use crate::{
|
||||
backup::DataStore,
|
||||
tape::{
|
||||
CatalogSet,
|
||||
SnapshotReader,
|
||||
},
|
||||
};
|
||||
use crate::backup::{DataStore, SnapshotReader};
|
||||
use crate::tape::CatalogSet;
|
||||
|
||||
/// Chunk iterator which use a separate thread to read chunks
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue