<table><tr><td style="">chinmoyr updated this revision to Diff 53605.<br />chinmoyr retitled this revision from "[FileCopyJob] Clean up after file copy operation is cancelled" to "[FileCopyJob] Clean up after cancelation of file copy operation".<br />chinmoyr edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-nxchc63te662coy/">(Show Details)</a><br />chinmoyr added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D18904">View Revision</a></tr></table><br /><div><div><p>Update summary</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">This patch borrows code from D10663.<br />
<br />
The destination file is deleted if a copy job is in progress and <br />
delete job is yet to start (in case of move). <br />
<br />
One additional change I made is to exclude put operation as there's</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Delete the destination file if the copy job was canceled. In case Overwrite flag</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">a possibility that someone might try to resum</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">was provided to the job, delet</span>e the <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">partial copy at a <br />
later date</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">.part file</span>.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D18904?vs=53604&id=53605">https://phabricator.kde.org/D18904?vs=53604&id=53605</a></div></div><br /><div><strong>BRANCH</strong><div><div>arcpatch-D18904 (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18904">https://phabricator.kde.org/D18904</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/jobtest.cpp<br />
autotests/jobtest.h<br />
src/core/filecopyjob.cpp<br />
src/core/filecopyjob.h</div></div></div><br /><div><strong>To: </strong>chinmoyr, dfaure, dmitrio, ngraham<br /><strong>Cc: </strong>kde-frameworks-devel, ngraham, michaelh, bruns<br /></div>