(path: str)
| 222 | compiled = re.compile(regex_str) |
| 223 | |
| 224 | def _glob(path: str) -> bool: |
| 225 | n = (path or "").lstrip("/") |
| 226 | base = n.split("/")[-1] if n else n |
| 227 | return bool(compiled.match(base)) |
| 228 | |
| 229 | return _glob |
| 230 |
nothing calls this directly
no outgoing calls
no test coverage detected