pub fn check_path(path: &Path) -> Result<&Utf8PlatformPath, Utf8Error>Expand description
Checks if the path is valid UTF-8 and returns it as a [Utf8PlatformPath].
pub fn check_path(path: &Path) -> Result<&Utf8PlatformPath, Utf8Error>Checks if the path is valid UTF-8 and returns it as a [Utf8PlatformPath].