Skip to main content

is_path_in_dir

Function is_path_in_dir 

Source
fn is_path_in_dir(path: &Path, dir: &Path, root_dir: &Path) -> bool
Expand description

Returns whether path resolves within dir, accepting relative, absolute, and symlinked paths.