Returns the absolute path the engine writes a segment file to.
(root: &Path, id: &str)
| 144 | |
| 145 | /// Returns the absolute path the engine writes a segment file to. |
| 146 | pub fn segment_path(root: &Path, id: &str) -> PathBuf { |
| 147 | root.join(id) |
| 148 | } |
| 149 | |
| 150 | #[cfg(test)] |
| 151 | mod tests { |
no test coverage detected