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

Function fnmatchcase

tools/python-3.11.9-amd64/Lib/fnmatch.py:64–71  ·  view source on GitHub ↗

Test whether FILENAME matches PATTERN, including case. This is a version of fnmatch() which doesn't case-normalize its arguments.

(name, pat)

Source from the content-addressed store, hash-verified

62 return result
63
64def fnmatchcase(name, pat):
65 """Test whether FILENAME matches PATTERN, including case.
66
67 This is a version of fnmatch() which doesn't case-normalize
68 its arguments.
69 """
70 match = _compile_pattern(pat)
71 return match(name) is not None
72
73
74def translate(pat):

Callers 3

shouldIncludeMethodMethod · 0.90
_build_filterMethod · 0.90
fnmatchFunction · 0.85

Calls 2

_compile_patternFunction · 0.85
matchFunction · 0.85

Tested by

no test coverage detected