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].
pub fn check_path_buf(
path: PathBuf,
) -> Result<Utf8PlatformPathBuf, FromUtf8Error>Checks if the path is valid UTF-8 and returns it as a [Utf8NativePathBuf].