On 5/5/22 17:40, Nikolay Sivov (@nsivov) wrote:
Thank you. It's actually possible to test access mode through the callback, and it does look like DELETE is used internally, so that's good.
My only concern now is whether we need stream-switch call at all? Have you tested if it's used for regular files, or on filesystems where streams are not supported. Maybe it could be dropped.
I've only tested on NTFS and ext4.
On Windows, I can confirm that the callback is called multiple times, as parts of the file are copied. Beyond that nothing besides confirming the progress bar on the application in question works.