Skip to main content

to_utf8

Function to_utf8 

Source
pub fn to_utf8(path: impl AsRef<Path>) -> Result<Utf8PathBuf>
Expand description

Convert a Path to a Utf8PathBuf, returning VoidError::InvalidPath on non-UTF-8.