Skip to main content

link_cli/storage/
mod.rs

1//! Reusable storage layer: traits, a doublets-backed implementation and
2//! advisory locking helpers.
3//!
4//! See [`LinksStorage`] for the abstraction the transactions layer is
5//! written against, and [`DoubletsStorage`] for the file-mapped
6//! `doublets` implementation.
7
8mod decorator_impls;
9mod doublets_storage;
10mod file_mem;
11pub mod lock;
12mod traits;
13
14pub use doublets_storage::{DoubletsStorage, FileMappedUnitStore};
15pub use file_mem::PersistentFileMapped;
16pub use lock::{lock_file_path, FileLock, LockMode};
17pub use traits::{LinksStorage, LinksStorageRef, StorageRevision};