MCPcopy Index your code
hub / github.com/RustPython/RustPython / copy

Method copy

Lib/pathlib/types.py:335–341  ·  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

333 raise NotImplementedError
334
335 def copy(self, target, **kwargs):
336 """
337 Recursively copy this file or directory tree to the given destination.
338 """
339 ensure_distinct_paths(self, target)
340 target._copy_from(self, **kwargs)
341 return target.joinpath() # Empty join to ensure fresh metadata.
342
343 def copy_into(self, target_dir, **kwargs):
344 """

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