CopyJob: Add setCopyOption enable options such as UseFsync
And UseReflink so users can turn off COW copying.
UseFsync can then be used for external drives.
This might fix other bugs: It allows to eject an usb stick as soon a copy is finished. It actually allow to show how slow the drive/filesystem media takes to write.
Used in system/dolphin!862, Plasma and other applications would need a similar patch to fully cover all the cases.
Open API design questions:
Should I move CopyJob::CopyOption to kio::global ? So I can prevent include propagation.
This is file
specific, so we might not want a setter/proper member but just metadata passing instead.
Edited by Méven Car