(path: &Path)
| 594 | } |
| 595 | |
| 596 | fn path_parent(path: &Path) -> &Path { |
| 597 | path.parent().unwrap_or_else(|| Path::new("")) |
| 598 | } |
| 599 | |
| 600 | fn relative_to_data_root(path: &Path, data_root: &Path) -> PathBuf { |
| 601 | path.strip_prefix(data_root).unwrap_or(path).to_path_buf() |
no outgoing calls
no test coverage detected