Skip to main content

path_to_utf8

Function path_to_utf8 

Source
pub fn path_to_utf8(path: &Path) -> Result<&str, PathError>
Expand description

Convert a path to a UTF-8 string slice, or error if it is not valid UTF-8.

ยงFilesystem access

No.