D19080: [WIP] Make file overwrite a bit safer

Chinmoy Ranjan Pradhan noreply at phabricator.kde.org
Sat Feb 16 13:33:58 GMT 2019


chinmoyr created this revision.
chinmoyr added reviewers: dfaure, ngraham.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
chinmoyr requested review of this revision.

REVISION SUMMARY
  The source is copied to a separate ".part" file, then the original destination  
  is replaced.
  
  When disk_full error occurs, file kioslave will ask the user if they wish to delete 
  the existing destination to free space and continue copying or cancel the copy 
  operation altogether.

TEST PLAN
  Unit testing and manual testing done.

REPOSITORY
  R241 KIO

BRANCH
  safe-overwrite

REVISION DETAIL
  https://phabricator.kde.org/D19080

AFFECTED FILES
  autotests/jobtest.cpp
  autotests/jobtest.h
  src/ioslaves/file/file_unix.cpp

To: chinmoyr, dfaure, ngraham
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190216/48c81136/attachment.html>


More information about the Kde-frameworks-devel mailing list