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

Function _stat

Lib/shutil.py:277–278  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

275 os.path.normcase(os.path.abspath(dst)))
276
277def _stat(fn):
278 return fn.stat() if isinstance(fn, os.DirEntry) else os.stat(fn)
279
280def _islink(fn):
281 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…