Get the full path as a string. # Returns The path as a string, or an empty string if the path is invalid UTF-8.
(&self)
| 691 | /// |
| 692 | /// The path as a string, or an empty string if the path is invalid UTF-8. |
| 693 | pub fn path_string(&self) -> String { |
| 694 | self.path.to_string_lossy().to_string() |
| 695 | } |
| 696 | } |
| 697 | |
| 698 | #[cfg(test)] |
nothing calls this directly
no outgoing calls
no test coverage detected