path_matches_pattern

Function path_matches_pattern 

Source
pub fn path_matches_pattern(path: &str, pattern: &str) -> bool
Expand description

Check if a path matches a pattern. Supports:

  • Exact match: “foo::Bar”
  • Glob suffix: “foo::*”
  • Recursive glob: “foo::**”
  • Wildcards: “foo::Bar*”