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

Function _islink

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

Source from the content-addressed store, hash-verified

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)
282
283def copyfile(src, dst, *, follow_symlinks=True):
284 """Copy data from src to dst in the most efficient way possible.

Callers 3

copyfileFunction · 0.85
copymodeFunction · 0.85
copystatFunction · 0.85

Calls 2

islinkMethod · 0.80
is_symlinkMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…