Skip to main content

is_contained_resolved

Function is_contained_resolved 

Source
pub fn is_contained_resolved(pathname: &str, base: &str) -> Option<String>
Expand description

is_contained whatever the spelling of either path: pathname’s directory and all of base resolved (both made absolute against the working directory first). A symbolic link inside base that leads out of it is outside.