summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-09 11:31:38 +0200
committermadmaxoft <github@xoft.cz>2013-10-09 11:31:38 +0200
commit9fc35514e64657f08929894c4ea4142daa81052d (patch)
treee898abaa3695973fb9836b75abd2415a12436913 /source
parentAPIDump: Added support for extra pages. (diff)
downloadcuberite-9fc35514e64657f08929894c4ea4142daa81052d.tar
cuberite-9fc35514e64657f08929894c4ea4142daa81052d.tar.gz
cuberite-9fc35514e64657f08929894c4ea4142daa81052d.tar.bz2
cuberite-9fc35514e64657f08929894c4ea4142daa81052d.tar.lz
cuberite-9fc35514e64657f08929894c4ea4142daa81052d.tar.xz
cuberite-9fc35514e64657f08929894c4ea4142daa81052d.tar.zst
cuberite-9fc35514e64657f08929894c4ea4142daa81052d.zip
Diffstat (limited to 'source')
-rw-r--r--source/OSSupport/File.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/OSSupport/File.h b/source/OSSupport/File.h
index 9fef25ace..cfb3a2019 100644
--- a/source/OSSupport/File.h
+++ b/source/OSSupport/File.h
@@ -103,8 +103,8 @@ public:
/// Deletes a file, returns true if successful
static bool Delete(const AString & a_FileName);
- /// Renames a file, returns true if successful. May fail if dest already exists (libc-dependant)!
- static bool Rename(const AString & a_OrigFileName, const AString & a_NewFileName);
+ /// Renames a file or folder, returns true if successful. May fail if dest already exists (libc-dependant)!
+ static bool Rename(const AString & a_OrigPath, const AString & a_NewPath);
/// Copies a file, returns true if successful.
static bool Copy(const AString & a_SrcFileName, const AString & a_DstFileName);