MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _isrecursive

Function _isrecursive

tools/python-3.11.9-amd64/Lib/glob.py:233–237  ·  view source on GitHub ↗
(pattern)

Source from the content-addressed store, hash-verified

231 return path[0] in ('.', b'.'[0])
232
233def _isrecursive(pattern):
234 if isinstance(pattern, bytes):
235 return pattern == b'**'
236 else:
237 return pattern == '**'
238
239def escape(pathname):
240 """Escape all special characters.

Callers 3

iglobFunction · 0.70
_iglobFunction · 0.70
_glob2Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected