(self, pattern, recurse_dir=False)
| 176 | PREFIX: str = None |
| 177 | |
| 178 | def __init__(self, pattern, recurse_dir=False): |
| 179 | self.pattern_orig = pattern |
| 180 | self.match_count = 0 |
| 181 | pattern = normalize_path(pattern) |
| 182 | self._prepare(pattern) |
| 183 | self.recurse_dir = recurse_dir |
| 184 | |
| 185 | def match(self, path, normalize=True): |
| 186 | """Return a boolean indicating whether *path* is matched by this pattern. |
no test coverage detected