You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FileSystemHandle.moveTo() is a new capability when it can carry out the move atomically. If the source and the target are in different file systems, the implementation needs to fall back to copying FileSystemHandle.copyTo() and removing (FileSystemHandle.remove() / FileSystemDirectoryHandle.removeRecursively()).
In #52 I argue that we shouldn't provide copyTo(). I think the argument applies here as well. I think we should either nix moveTo() for now, or scope it down to the new capability. In the latter case, we'd have the method fail if the move cannot be performed atomically.
The text was updated successfully, but these errors were encountered:
FileSystemHandle.moveTo()
is a new capability when it can carry out the move atomically. If the source and the target are in different file systems, the implementation needs to fall back to copyingFileSystemHandle.copyTo()
and removing (FileSystemHandle.remove()
/FileSystemDirectoryHandle.removeRecursively()
).In #52 I argue that we shouldn't provide
copyTo()
. I think the argument applies here as well. I think we should either nixmoveTo()
for now, or scope it down to the new capability. In the latter case, we'd have the method fail if the move cannot be performed atomically.The text was updated successfully, but these errors were encountered: