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

Function _islink

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

Source from the content-addressed store, hash-verified

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

Callers 3

copyfileFunction · 0.85
copymodeFunction · 0.85
copystatFunction · 0.85

Calls 1

is_symlinkMethod · 0.45

Tested by

no test coverage detected