Skip to main content

windows_path_has_verbatim_only_components

Function windows_path_has_verbatim_only_components 

Source
pub fn windows_path_has_verbatim_only_components(path: &Path) -> bool
Expand description

Return whether a Windows path contains components whose spelling requires verbatim semantics.

Ordinary Win32 canonicalization may reinterpret these components, so a prefix-stripped historical path cannot safely establish their identity.