Add a variant of love.filesystem.getInfo which filters based on file type. getInfo(filename, "directory") will only return info for non-symlinked directories, for example.

This commit is contained in:
Alex Szpakowski
2018-03-24 14:43:56 -03:00
parent 5bdffa72eb
commit 0cefb12c13
4 changed files with 26 additions and 3 deletions
+1
View File
@@ -265,6 +265,7 @@ public:
static bool getConstant(const char *in, FileType &out);
static bool getConstant(FileType in, const char *&out);
static std::vector<std::string> getConstants(FileType);
private: