File :: rename - Rename file or directory
The function allows renaming or moving a file or directory. Directories can be renamed, but not moved.
Implementation details
File  :: rename ( odaba::String &sFilePath, bool bDelete )
When passing a file or directory 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.
- sFilePath - Complete file path
- bDelete
- Delete option
When delete is required, true has to be passed.