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

Function copy_tree

library/python/fs/__init__.py:289–293  ·  view source on GitHub ↗
(src, dst, copy_function=shutil.copy2)

Source from the content-addressed store, hash-verified

287# throws EnvironmentError (OSError, IOError, shutil.Error)
288@errorfix_win
289def copy_tree(src, dst, copy_function=shutil.copy2):
290 if os.path.isfile(src):
291 copy_file(src, dst, copy_function=copy_function)
292 return
293 copytree3(src, dst, copy_function=copy_function)
294
295
296# File read

Callers

nothing calls this directly

Calls 2

copytree3Function · 0.85
copy_fileFunction · 0.70

Tested by

no test coverage detected