Could implement the rename function
mlambley opened this issue · comments
Mark Lambley commented
flysystem-backblaze/src/BackblazeAdapter.php
Lines 130 to 133 in 42549be
This could be implemented using copyFile (see gliterd/backblaze-b2#57) and then delete the original file.
Remmelt Pit commented
Yes, a decision needs to be made what to do when the copy command succeeds, but the delete fails. There are no transactions ;-)
Perhaps throwing an exception is good enough.