summaryrefslogtreecommitdiffstats
path: root/source/OSSupport/File.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-09 09:57:48 +0200
committermadmaxoft <github@xoft.cz>2013-10-09 09:57:48 +0200
commit55999ee1187579179a70328808a4c856339ca97f (patch)
tree6335123ef5b8ff43b2e38e76282c45c61270b235 /source/OSSupport/File.h
parentAdded static cFile functions to Lua API. (diff)
downloadcuberite-55999ee1187579179a70328808a4c856339ca97f.tar
cuberite-55999ee1187579179a70328808a4c856339ca97f.tar.gz
cuberite-55999ee1187579179a70328808a4c856339ca97f.tar.bz2
cuberite-55999ee1187579179a70328808a4c856339ca97f.tar.lz
cuberite-55999ee1187579179a70328808a4c856339ca97f.tar.xz
cuberite-55999ee1187579179a70328808a4c856339ca97f.tar.zst
cuberite-55999ee1187579179a70328808a4c856339ca97f.zip
Diffstat (limited to 'source/OSSupport/File.h')
-rw-r--r--source/OSSupport/File.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/OSSupport/File.h b/source/OSSupport/File.h
index f47bd4041..9fef25ace 100644
--- a/source/OSSupport/File.h
+++ b/source/OSSupport/File.h
@@ -118,6 +118,9 @@ public:
/// Returns the size of the file, or a negative number on error
static int GetSize(const AString & a_FileName);
+ /// Creates a new folder with the specified name. Returns true if successful. Path may be relative or absolute
+ static bool CreateFolder(const AString & a_FolderPath);
+
// tolua_end
int Printf(const char * a_Fmt, ...);