Skip to main content

path_pattern_matches

Function path_pattern_matches 

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

Whether the view’s path pattern fits file_path, as opened or as the save form spells it: a file opened by a relative path or through a link is still under the resolved directory its pattern was suggested from.