1mod cache;
22mod compression;
23mod error;
24mod hybrid;
25mod object;
26mod pool;
27mod refs;
28#[cfg(feature = "rocksdb-backend")]
29mod rocksdb;
30mod store;
31mod traits;
32
33pub use cache::{CacheConfig, CacheMetrics, CacheStats, CachedStorage};
34pub use compression::{CompressionLevel, CompressionStats};
35pub use error::StorageError;
36pub use hybrid::{HybridConfig, HybridStatsSnapshot, HybridStorage};
37pub use object::{GitObject, ObjectId, ObjectType};
38pub use pool::{ObjectPool, PooledBuffer, IO_BUFFER_POOL, PACK_BUFFER_POOL};
39pub use refs::{RefStore, Reference};
40#[cfg(feature = "rocksdb-backend")]
41pub use rocksdb::{RocksDbConfig, RocksDbStorage};
42pub use store::{ObjectStore, RepoStore, Repository};
43pub use traits::{ObjectStoreBackend, StorageBackend, StorageStats};
44
45pub type Result<T> = std::result::Result<T, StorageError>;