gliterd/flysystem-backblaze

Could implement the rename function

mlambley opened this issue · 1 comments

public function rename($path, $newpath)
{
return false;
}

This could be implemented using copyFile (see gliterd/backblaze-b2#57) and then delete the original file.

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.