Open an existing segment file and memory-map it.
(path: &Path)
| 74 | |
| 75 | /// Open an existing segment file and memory-map it. |
| 76 | pub fn open(path: &Path) -> std::io::Result<Self> { |
| 77 | Self::open_with_policy(path, VectorSegmentDropPolicy::default()) |
| 78 | } |
| 79 | |
| 80 | /// Open an existing segment with an explicit drop policy. |
| 81 | pub fn open_with_policy(path: &Path, policy: VectorSegmentDropPolicy) -> std::io::Result<Self> { |
no outgoing calls
no test coverage detected