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

Function _cmp

tools/python-3.11.9-amd64/Lib/filecmp.py:285–289  ·  view source on GitHub ↗
(a, b, sh, abs=abs, cmp=cmp)

Source from the content-addressed store, hash-verified

283# 2 for funny cases (can't stat, etc.)
284#
285def _cmp(a, b, sh, abs=abs, cmp=cmp):
286 try:
287 return not abs(cmp(a, b, sh))
288 except OSError:
289 return 2
290
291
292# Return a copy with items that occur in skip removed.

Callers 1

cmpfilesFunction · 0.70

Calls 2

cmpFunction · 0.85
absFunction · 0.70

Tested by

no test coverage detected