move manifest and backup_info to pbs-datastore

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2021-07-07 11:34:45 +02:00
parent f75292bd8d
commit a5951b4f38
6 changed files with 20 additions and 16 deletions

View File

@ -178,6 +178,8 @@ pub fn backup_group() -> Result<nix::unistd::Group, Error> {
}
}
pub use pbs_datastore::backup_info;
pub use pbs_datastore::backup_info::*;
pub use pbs_datastore::catalog;
pub use pbs_datastore::catalog::*;
pub use pbs_datastore::checksum_reader;
@ -204,9 +206,8 @@ pub use pbs_datastore::index;
pub use pbs_datastore::index::*;
pub use pbs_datastore::key_derivation;
pub use pbs_datastore::key_derivation::*;
mod manifest;
pub use manifest::*;
pub use pbs_datastore::manifest;
pub use pbs_datastore::manifest::*;
mod chunk_stream;
pub use chunk_stream::*;
@ -226,10 +227,6 @@ pub use fixed_index::*;
mod dynamic_index;
pub use dynamic_index::*;
#[macro_use]
mod backup_info;
pub use backup_info::*;
mod prune;
pub use prune::*;

View File

@ -23,6 +23,7 @@ use proxmox_http::{
ProxyConfig,
};
pub use pbs_tools::json;
pub use pbs_tools::nom;
pub use pbs_tools::{run_command, command_output, command_output_as_string};
@ -40,7 +41,6 @@ pub mod fuse_loop;
mod memcom;
pub use memcom::Memcom;
pub mod json;
pub mod logrotate;
pub mod loopdev;
pub mod lru_cache;