zvault/src/repository/mod.rs

24 lines
602 B
Rust
Raw Normal View History

2017-03-10 11:43:32 +00:00
mod config;
mod bundle_map;
2017-04-08 12:35:10 +00:00
mod layout;
2018-05-15 20:14:30 +00:00
mod error;
mod inner;
2018-03-08 22:41:56 +00:00
pub mod bundledb;
pub mod index;
pub mod chunking;
2017-03-10 11:43:32 +00:00
2017-03-16 08:42:30 +00:00
pub use self::error::RepositoryError;
2017-03-10 11:43:32 +00:00
pub use self::config::Config;
2018-05-15 20:14:30 +00:00
pub use self::inner::IntegrityError;
pub use self::inner::{RepositoryInfo, BundleAnalysis, RepositoryStatistics};
2018-03-09 22:31:20 +00:00
pub use self::layout::{RepositoryLayout, ChunkRepositoryLayout};
2018-05-15 20:14:30 +00:00
pub use self::inner::{Location, RepositoryInner};
pub use self::inner::api::*;
2017-03-10 11:43:32 +00:00
2018-02-19 21:30:59 +00:00
const REPOSITORY_README: &[u8] = include_bytes!("../../docs/repository_readme.md");
2017-03-26 18:33:32 +00:00
const INDEX_MAGIC: [u8; 7] = *b"zvault\x02";
2018-05-15 20:14:30 +00:00
const INDEX_VERSION: u8 = 1;