Skip to main content

check_path

Function check_path 

Source
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].