Skip to main content

path_contains

Function path_contains 

Source
pub fn path_contains(container_path: &str, nested_path: &str) -> bool
Expand description

Tests whether container_path is equal to nested_path or is an ancestor of nested_path.