blob: 1f3470fe7af57e986e4148e2db174dd045960cef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//! 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 bucket;
pub use bucket::*;
mod protocol;
pub use protocol::*;
|