summaryrefslogtreecommitdiffstats
path: root/source/OSSupport/File.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-18 18:43:03 +0200
committermadmaxoft <github@xoft.cz>2013-09-18 20:40:09 +0200
commitedd7363eddc9f6ef6a7f798a092500b328d5a7f3 (patch)
tree83055f891681c9e774ec5bd8a3bee7b514f2839b /source/OSSupport/File.h
parentcPluginManager:BindConsoleCommand can be called with the dot operator, too. (diff)
downloadcuberite-edd7363eddc9f6ef6a7f798a092500b328d5a7f3.tar
cuberite-edd7363eddc9f6ef6a7f798a092500b328d5a7f3.tar.gz
cuberite-edd7363eddc9f6ef6a7f798a092500b328d5a7f3.tar.bz2
cuberite-edd7363eddc9f6ef6a7f798a092500b328d5a7f3.tar.lz
cuberite-edd7363eddc9f6ef6a7f798a092500b328d5a7f3.tar.xz
cuberite-edd7363eddc9f6ef6a7f798a092500b328d5a7f3.tar.zst
cuberite-edd7363eddc9f6ef6a7f798a092500b328d5a7f3.zip
Diffstat (limited to '')
-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 8a057afa8..d4ea0d3a8 100644
--- a/source/OSSupport/File.h
+++ b/source/OSSupport/File.h
@@ -99,6 +99,9 @@ public:
/// 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);
+ /// Returns true if the specified path is a folder
+ static bool IsFolder(const AString & a_Path);
+
int Printf(const char * a_Fmt, ...);
private: