(&self)
| 473 | /// ``` |
| 474 | #[must_use] |
| 475 | pub fn file_name(&self) -> Option<&OsStr> { |
| 476 | self.components().next_back().and_then(|p| match p { |
| 477 | Component::Normal(p) => Some(p), |
| 478 | _ => None, |
| 479 | }) |
| 480 | } |
| 481 | |
| 482 | /// Creates an owned [`PathBuf`] with `path` adjoined to `self`. |
| 483 | /// |
nothing calls this directly
no test coverage detected