MCPcopy Index your code
hub / github.com/python/cpython / _isrecursive

Function _isrecursive

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

Source from the content-addressed store, hash-verified

253 return path[0] in ('.', b'.'[0])
254
255def _isrecursive(pattern):
256 if isinstance(pattern, bytes):
257 return pattern == b'**'
258 else:
259 return pattern == '**'
260
261def escape(pathname):
262 """Escape all special characters.

Callers 3

iglobFunction · 0.85
_iglobFunction · 0.85
_glob2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…