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

Function _is_wildcard_pattern

tools/python-3.11.9-amd64/Lib/pathlib.py:43–46  ·  view source on GitHub ↗
(pat)

Source from the content-addressed store, hash-verified

41
42
43def _is_wildcard_pattern(pat):
44 # Whether this pattern needs actual matching using fnmatch, or can
45 # be looked up directly as a file.
46 return "*" in pat or "?" in pat or "[" in pat
47
48
49class _Flavour(object):

Callers 1

_make_selectorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected