MCPcopy Create free account
hub / github.com/catboost/catboost / copy2_safe

Function copy2_safe

library/python/fs/__init__.py:224–228  ·  view source on GitHub ↗
(src, lnk, follow_symlinks=True)

Source from the content-addressed store, hash-verified

222
223
224def copy2_safe(src, lnk, follow_symlinks=True):
225 try:
226 copy2(src, lnk, follow_symlinks)
227 except shutil.SameFileError:
228 pass
229
230
231@errorfix_win

Callers

nothing calls this directly

Calls 1

copy2Function · 0.85

Tested by

no test coverage detected