Skip to content

Commit e8aee1c

Browse files
committed
Add disclaimer to Rename()
1 parent a5872e1 commit e8aee1c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/Managers/LuaMan.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,8 @@ namespace RTE {
526526

527527
/// <summary>
528528
/// Moves or renames the filesystem object oldPath to newPath.
529+
/// In order to get consistent behavior across Windows and Linux across all 4 combinations of oldPath and newPath being a directory/file,
530+
/// the newPath isn't allowed to already exist.
529531
/// </summary>
530532
/// <param name="oldPath">Path to the filesystem object. All paths are made absolute by adding current working directory to the specified path.</param>
531533
/// <param name="newPath">Path to the filesystem object. All paths are made absolute by adding current working directory to the specified path.</param>

0 commit comments

Comments
 (0)