move src/backup/datastore.rs into pbs_datastore crate

This commit is contained in:
Dietmar Maurer
2021-09-27 08:24:26 +02:00
parent af2eb422d5
commit 6d5d305d9d
24 changed files with 53 additions and 69 deletions

View File

@ -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,

View File

@ -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