XD2031
XD2031 copied to clipboard
FS_RENAME => FS_MOVE
Just came from implementing FS_RENAME for the FAT provider.
It works just like Linux mv command, meaning: it can rename/move files/directories. Tested: yes, it can even move and rename directories at once, e.g: @R:/foo=/somewhere/else/bar
Instead of limiting the command capabilities by checking if the command contains a path separator, I'd further like to rename FS_RENAME to FS_MOVE and allow this "officially". This implies a few changes to pcserver/fs_provider, since rename() cannot move files across file systems.
Approval?
Yes, ok, but we need to change the fs_provider as well. If you can make it for 0.9.2 very good, but I mark it for 1.0 for now
OK
The rename FS_RENAME -> FS_MOVE is in already, but not the changed functionality.