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

Function _stat

tools/python-3.11.9-amd64/Lib/shutil.py:220–221  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

218 os.path.normcase(os.path.abspath(dst)))
219
220def _stat(fn):
221 return fn.stat() if isinstance(fn, os.DirEntry) else os.stat(fn)
222
223def _islink(fn):
224 return fn.is_symlink() if isinstance(fn, os.DirEntry) else os.path.islink(fn)

Callers 2

copyfileFunction · 0.85
_is_immutableFunction · 0.85

Calls 1

statMethod · 0.45

Tested by

no test coverage detected