MCPcopy Index your code
hub / github.com/RustPython/RustPython / _isrecursive

Function _isrecursive

Lib/glob.py:249–253  ·  view source on GitHub ↗
(pattern)

Source from the content-addressed store, hash-verified

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

Callers 3

iglobFunction · 0.85
_iglobFunction · 0.85
_glob2Function · 0.85

Calls 1

isinstanceFunction · 0.85

Tested by

no test coverage detected