(prefix)
| 322 | |
| 323 | |
| 324 | def get_pattern_class(prefix): |
| 325 | try: |
| 326 | return _PATTERN_CLASS_BY_PREFIX[prefix] |
| 327 | except KeyError: |
| 328 | raise ValueError(f"Unknown pattern style: {prefix}") from None |
| 329 | |
| 330 | |
| 331 | def parse_pattern(pattern, fallback=FnmatchPattern, recurse_dir=True): |
no outgoing calls
no test coverage detected