chinmoyr created this revision. chinmoyr added reviewers: dfaure, dmitrio. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. chinmoyr requested review of this revision.
REVISION SUMMARY This patch borrows code from D10663 <https://phabricator.kde.org/D10663>. The destination file is deleted if a copy job is in progress and delete job is yet to start (in case of move). One additional change I made is to exclude put operation as there's a possibility that someone might try to resume the partial copy at a later date. TEST PLAN Unit testing and manual testing done. REPOSITORY R241 KIO BRANCH arcpatch-D10663 REVISION DETAIL https://phabricator.kde.org/D18904 AFFECTED FILES autotests/jobtest.cpp autotests/jobtest.h src/core/filecopyjob.cpp src/core/filecopyjob.h To: chinmoyr, dfaure, dmitrio Cc: kde-frameworks-devel, ngraham, michaelh, bruns