File :: rename - Rename file or directory
The function allows renaming or moving a file or directory. Directories can be renamed, but not moved. When passing a file name in sFilePath, the file or directory will be renamed at current position. When passing a complete file path, the file will be moved. If passing true in bDelete, a file with the new file name will be deleted when already existing.
Implementation details
File  :: rename ( odaba::String &sFilePath, bool bDelete )
- sFilePath - Complete file path
- bDelete
- Delete option
When delete is required, true has to be passed.