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> |
||
|---|---|---|
| .. | ||
| archive | ||
| atomicfile | ||
| config | ||
| fs | ||
| homedir | ||
| jobs | ||
| logx | ||
| paths | ||
| ssh | ||
| state | ||
| testutil | ||
| theme | ||
| transfer | ||
| ui | ||
| vfs | ||