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 (relative or linked paths still sit under the resolved directory).