Commit 50b7221
committed
Copy: Unify volume_copy on APFS clone + generic streaming pipe
`volume_strategy::copy_single_path` collapses from three branches (local, import, export, stream) to one generic streaming pipe — plus the APFS clonefile fast path handled upstream in `copy_between_volumes`. Directories are walked here so the user can cancel between files; per-file transfers drive the destination's `write_from_stream`. Preserves all existing write-progress event emissions, cancellation semantics, per-file size tracking, and `.cmdr-tmp-*` temp-file behavior — only the dispatch logic is different.
Added `#[allow(clippy::print_stdout, clippy::needless_update)]` to the pre-existing `phase4_bench_baseline_smb_to_local_100_tiny_files` bench so clippy stays clean with `-D warnings`; the `println!`s are intentional for `--nocapture` reports.1 parent eb99c37 commit 50b7221
2 files changed
Lines changed: 130 additions & 275 deletions
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1449 | 1449 | | |
1450 | 1450 | | |
1451 | 1451 | | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
1452 | 1457 | | |
1453 | 1458 | | |
1454 | 1459 | | |
| |||
1461 | 1466 | | |
1462 | 1467 | | |
1463 | 1468 | | |
1464 | | - | |
| 1469 | + | |
1465 | 1470 | | |
1466 | 1471 | | |
1467 | 1472 | | |
| |||
1499 | 1504 | | |
1500 | 1505 | | |
1501 | 1506 | | |
1502 | | - | |
| 1507 | + | |
1503 | 1508 | | |
1504 | 1509 | | |
1505 | 1510 | | |
| |||
1541 | 1546 | | |
1542 | 1547 | | |
1543 | 1548 | | |
1544 | | - | |
| 1549 | + | |
1545 | 1550 | | |
1546 | 1551 | | |
1547 | 1552 | | |
| |||
0 commit comments