[ Version ( since = "0.17.0" ) ]
public bool move (string src, string dest) throws Error
Move / rename a file or a directory.
If the destination exists: - if it is a non-empty directory, an error is returned - otherwise, if it has the same type as the source, it is replaced - otherwise, behavior is unspecified (implementation-dependent).
| this |
A FileSystem. |
| src |
The path of the source file. |
| dest |
The path of the destination. |
|
true on success, false if there was an error. |