Skip to main content

dangling_link_leaves

Function dangling_link_leaves 

Source
pub(crate) fn dangling_link_leaves(path: &Path, inside: &[&Path]) -> bool
Expand description

Whether path, which is not there, would lead out of the folder (inside: the folder as written and as resolved) were it there: what a link on the way points at is followed whether it is there or not, so that a path through a link that leaves the folder answers as one that leaves it does, and what lies outside is not told by whether a file is there.