Build a full segment path within a WAL directory.
(wal_dir: &Path, first_lsn: u64)
| 55 | |
| 56 | /// Build a full segment path within a WAL directory. |
| 57 | pub fn segment_path(wal_dir: &Path, first_lsn: u64) -> PathBuf { |
| 58 | wal_dir.join(segment_filename(first_lsn)) |
| 59 | } |
| 60 | |
| 61 | /// Parse the first_lsn from a segment filename. |
| 62 | /// |
no test coverage detected