summaryrefslogtreecommitdiff
path: root/rola-bucket/src/lib.rs
blob: c45452c64938ee278b42e5099d5afabb8a5db39e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Rorolala Bucket
//!
//! # Introduction
//!
//! `Bucket` is the central repository in **Rola** for storing files. It stores:
//! - **Delta Fragment**: Stores incremental data of a file, friendly to uncompressed sequential large files; the actual content can be computed via an index.
//! - **Full Storage**: Stores a complete file, data can be retrieved directly via an index.
//! - **Compressed Storage**: Stores a compressed complete file, data can be retrieved directly via an index.
//! - **Limited Storage**: Stores a limited number of recent versions according to rules (maximum size, maximum number of versions); only the **existing** data can be retrieved directly via an index.
//!
//! # Interface Boundary
//!
//! This module does **not** implement any **specific transport method**; it only implements the workflow for file storage and retrieval.

mod protocol;
pub use protocol::*;