Recursively copy this file or directory tree to the given destination.
(self, target, **kwargs)
| 1094 | return target |
| 1095 | |
| 1096 | def copy(self, target, **kwargs): |
| 1097 | """ |
| 1098 | Recursively copy this file or directory tree to the given destination. |
| 1099 | """ |
| 1100 | if not hasattr(target, 'with_segments'): |
| 1101 | target = self.with_segments(target) |
| 1102 | ensure_distinct_paths(self, target) |
| 1103 | target._copy_from(self, **kwargs) |
| 1104 | return target.joinpath() # Empty join to ensure fresh metadata. |
| 1105 | |
| 1106 | def copy_into(self, target_dir, **kwargs): |
| 1107 | """ |
no test coverage detected