(&self)
| 337 | #[must_use = "this returns the result of the operation, \ |
| 338 | without modifying the original"] |
| 339 | pub fn to_path_buf(&self) -> PathBuf { |
| 340 | PathBuf::from(self.inner.to_os_string()) |
| 341 | } |
| 342 | |
| 343 | /// true if the path starts with '/' |
| 344 | pub fn has_root(&self) -> bool { |
no test coverage detected