(pattern)
| 247 | return path[0] in ('.', b'.'[0]) |
| 248 | |
| 249 | def _isrecursive(pattern): |
| 250 | if isinstance(pattern, bytes): |
| 251 | return pattern == b'**' |
| 252 | else: |
| 253 | return pattern == '**' |
| 254 | |
| 255 | def escape(pathname): |
| 256 | """Escape all special characters. |
no test coverage detected