Skip to main content

strip_prefix_lossy

Function strip_prefix_lossy 

Source
pub fn strip_prefix_lossy<'a>(path: &'a Path, base: &Path) -> Option<&'a Path>
Expand description

Strips base from path. On Windows, if standard strip_prefix fails, performs case-insensitive component comparison to support Windows case-preserving filesystems.