28 lines
785 B
Rust
28 lines
785 B
Rust
//! This module implements the proxmox backup chunked data storage
|
|
//!
|
|
//! A chunk is simply defined as binary blob. We store them inside a
|
|
//! `ChunkStore`, addressed by the SHA256 digest of the binary
|
|
//! blob. This technology is also known as content-addressable
|
|
//! storage.
|
|
//!
|
|
//! We store larger files by splitting them into chunks. The resulting
|
|
//! SHA256 digest list is stored as separate index file. The
|
|
//! `DynamicIndex*` format is able to deal with dynamic chunk sizes,
|
|
//! whereas the `FixedIndex*` format is an optimization to store a
|
|
//! list of equal sized chunks.
|
|
|
|
mod chunker;
|
|
pub use chunker::*;
|
|
|
|
mod chunk_store;
|
|
pub use chunk_store::*;
|
|
|
|
mod fixed_index;
|
|
pub use fixed_index::*;
|
|
|
|
mod dynamic_index;
|
|
pub use dynamic_index::*;
|
|
|
|
mod datastore;
|
|
pub use datastore::*;
|