| 11 | use std::fmt::Debug; |
| 12 | |
| 13 | pub struct StorageManager<K, V> { |
| 14 | pub mmap: MmapMut, |
| 15 | pub used_space: usize, |
| 16 | path: PathBuf, |
| 17 | phantom: std::marker::PhantomData<(K, V)>, |
| 18 | locks: LockService, |
| 19 | } |
| 20 | |
| 21 | pub const SIZE_OF_USIZE: usize = std::mem::size_of::<usize>(); |
| 22 | pub const HEADER_SIZE: usize = SIZE_OF_USIZE * 2; // Used space + root offset |
nothing calls this directly
no outgoing calls
no test coverage detected