vcom/internal/transfer
vrubelroman edf196a149 fix(transfer): clean up temp files left by a dead connection
A failed write whose temp file cannot be removed (the connection is gone)
is remembered by the executor and removed again on Retry (typically after
the pool reconnected inside OnError) and at the end of Execute; whatever
still cannot be removed is named in Report.Warnings. Prepare now always
lists ToDir once (instead of a Lstat per root), so leftovers next to a
single top-level file are reported too. TestOverwriteThenDrop checks this
strictly, TestOverwriteThenDropRetryLeavesNoTemp covers the retry path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 04:15:40 +03:00
..
atomic.go fix(transfer): clean up temp files left by a dead connection 2026-11-01 04:15:40 +03:00
cancel_test.go test(transfer): cancellation inside a file and during Prepare (3.4) 2026-11-01 04:02:22 +03:00
conflict.go feat(transfer): WriteAtomic and Execute for files, dirs and links (3.2) 2026-11-01 04:00:31 +03:00
conflict_test.go fix(transfer): clean up temp files left by a dead connection 2026-11-01 04:15:40 +03:00
errors.go feat(transfer): move by rename or copy+delete per item (3.5) 2026-11-01 04:04:31 +03:00
execute.go fix(transfer): clean up temp files left by a dead connection 2026-11-01 04:15:40 +03:00
execute_test.go feat(transfer): WriteAtomic and Execute for files, dirs and links (3.2) 2026-11-01 04:00:31 +03:00
helpers_test.go feat(transfer): request/plan types, FSSource and Prepare (3.1) 2026-11-01 03:56:21 +03:00
move.go feat(transfer): move by rename or copy+delete per item (3.5) 2026-11-01 04:04:31 +03:00
move_test.go feat(transfer): move by rename or copy+delete per item (3.5) 2026-11-01 04:04:31 +03:00
prepare.go fix(transfer): clean up temp files left by a dead connection 2026-11-01 04:15:40 +03:00
prepare_test.go fix(transfer): clean up temp files left by a dead connection 2026-11-01 04:15:40 +03:00
reader.go feat(transfer): WriteAtomic and Execute for files, dirs and links (3.2) 2026-11-01 04:00:31 +03:00
remote_test.go fix(transfer): clean up temp files left by a dead connection 2026-11-01 04:15:40 +03:00
source.go feat(transfer): request/plan types, FSSource and Prepare (3.1) 2026-11-01 03:56:21 +03:00
types.go feat(transfer): move by rename or copy+delete per item (3.5) 2026-11-01 04:04:31 +03:00