Skip to main content

is_within

Function is_within 

Source
pub fn is_within(url: &str, root: &str) -> bool
Expand description

Whether url is root or somewhere inside it. Azure URLs are compared in their canonical form, and a trailing slash does not matter.