(path: &str)
| 210 | } |
| 211 | |
| 212 | pub fn normalize_markdown_path(path: &str) -> String { |
| 213 | path.replace('\\', "/") |
| 214 | .trim_start_matches("./") |
| 215 | .trim_start_matches('/') |
| 216 | .to_string() |
| 217 | } |
| 218 | |
| 219 | pub fn markdown_filename(path: &Path) -> String { |
| 220 | path.file_name() |
no test coverage detected