Get the path as a PathBuf.
(&self)
| 92 | |
| 93 | /// Get the path as a PathBuf. |
| 94 | pub fn path_buf(&self) -> PathBuf { |
| 95 | PathBuf::from(&self.path) |
| 96 | } |
| 97 | |
| 98 | /// Get the file name portion of the path. |
| 99 | pub fn file_name(&self) -> Option<&str> { |
no outgoing calls