mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
love.filesystem.mkdir -> love.filesystem.createDirectory, love.filesystem.enumerate -> love.filesystem.getDirectoryItems. Resolves issue #609.
This commit is contained in:
@@ -197,9 +197,9 @@ public:
|
||||
|
||||
/**
|
||||
* Creates a directory. Write dir must be set.
|
||||
* @param file The directory to create.
|
||||
* @param dir The directory to create.
|
||||
**/
|
||||
bool mkdir(const char *file);
|
||||
bool createDirectory(const char *dir);
|
||||
|
||||
/**
|
||||
* Removes a file (or directory).
|
||||
@@ -266,7 +266,7 @@ public:
|
||||
* This "native" method returns a table of all
|
||||
* files in a given directory.
|
||||
**/
|
||||
int enumerate(lua_State *L);
|
||||
int getDirectoryItems(lua_State *L);
|
||||
|
||||
/**
|
||||
* Gets the last modification time of a file, in seconds
|
||||
|
||||
Reference in New Issue
Block a user