mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Add love.filesystem.getInfo. Deprecate love.filesystem.exists/isDirectory/isFile/isSymlink/getLastModified/getSize. Resolves issue #641.
--HG-- branch : minor
This commit is contained in:
@@ -72,10 +72,7 @@ public:
|
||||
|
||||
std::string getRealDirectory(const char *filename) const;
|
||||
|
||||
bool exists(const char *path) const;
|
||||
bool isDirectory(const char *dir) const;
|
||||
bool isFile(const char *file) const;
|
||||
bool isSymlink(const char *filename) const;
|
||||
bool getInfo(const char *filepath, Info &info) const;
|
||||
|
||||
bool createDirectory(const char *dir);
|
||||
|
||||
@@ -87,9 +84,6 @@ public:
|
||||
|
||||
void getDirectoryItems(const char *dir, std::vector<std::string> &items);
|
||||
|
||||
int64 getLastModified(const char *filename) const;
|
||||
int64 getSize(const char *filename) const;
|
||||
|
||||
void setSymlinksEnabled(bool enable);
|
||||
bool areSymlinksEnabled() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user