`SyncAction::Upload` cloned the file bytes solely so it could later read `data.len()` for the sync-state record. Capture the length up front and move the buffer into `put_file`. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
`SyncAction::Upload` cloned the file bytes solely so it could later read `data.len()` for the sync-state record. Capture the length up front and move the buffer into `put_file`. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||