Recursively copy this file or directory tree to the given destination.
(self, target, **kwargs)
| 1292 | return target |
| 1293 | |
| 1294 | def copy(self, target, **kwargs): |
| 1295 | """ |
| 1296 | Recursively copy this file or directory tree to the given destination. |
| 1297 | """ |
| 1298 | if not hasattr(target, 'with_segments'): |
| 1299 | target = self.with_segments(target) |
| 1300 | ensure_distinct_paths(self, target) |
| 1301 | target._copy_from(self, **kwargs) |
| 1302 | return target.joinpath() # Empty join to ensure fresh metadata. |
| 1303 | |
| 1304 | def copy_into(self, target_dir, **kwargs): |
| 1305 | """ |
no test coverage detected