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

Method copy

Lib/pathlib/types.py:381–387  ·  view source on GitHub ↗

Recursively copy this file or directory tree to the given destination.

(self, target, **kwargs)

Source from the content-addressed store, hash-verified

379 raise NotImplementedError
380
381 def copy(self, target, **kwargs):
382 """
383 Recursively copy this file or directory tree to the given destination.
384 """
385 ensure_distinct_paths(self, target)
386 target._copy_from(self, **kwargs)
387 return target.joinpath() # Empty join to ensure fresh metadata.
388
389 def copy_into(self, target_dir, **kwargs):
390 """

Callers 1

copy_intoMethod · 0.95

Calls 3

ensure_distinct_pathsFunction · 0.90
_copy_fromMethod · 0.45
joinpathMethod · 0.45

Tested by

no test coverage detected