Skip to main content

check_path_buf

Function check_path_buf 

Source
pub fn check_path_buf(
    path: PathBuf,
) -> Result<Utf8PlatformPathBuf, FromUtf8Error>
Expand description

Checks if the path is valid UTF-8 and returns it as a [Utf8NativePathBuf].