mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Removed love.filesystem.exists (resolves issue #641.)
Use either love.filesystem.isFile or love.filesystem.isDirectory instead. --HG-- branch : minor
This commit is contained in:
@@ -172,21 +172,13 @@ public:
|
||||
std::string getRealDirectory(const char *filename) const;
|
||||
|
||||
/**
|
||||
* Checks whether a file exists in the current search path
|
||||
* or not.
|
||||
* @param file The filename to check.
|
||||
* Checks if a path is a directory.
|
||||
* @param dir The directory name to check.
|
||||
**/
|
||||
bool exists(const char *file) const;
|
||||
bool isDirectory(const char *dir) const;
|
||||
|
||||
/**
|
||||
* Checks if an existing file really is a directory.
|
||||
* @param file The filename to check.
|
||||
**/
|
||||
bool isDirectory(const char *file) const;
|
||||
|
||||
/**
|
||||
* Checks if an existing file really is a file,
|
||||
* and not a directory.
|
||||
* Checks if a filename exists.
|
||||
* @param file The filename to check.
|
||||
**/
|
||||
bool isFile(const char *file) const;
|
||||
|
||||
Reference in New Issue
Block a user