Skip to main content

exact_path_matches

Function exact_path_matches 

Source
pub fn exact_path_matches<'a>(
    criteria: &MatchCriteria,
    dataset: impl Into<Dataset<'a>>,
) -> bool
Expand description

Whether the view’s exact path names the dataset at file_path. A URL compares as text less any trailing slash, which is how a directory’s URL may or may not end, and with its scheme in either case, as datui opens it.