aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/filesystem
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/modules/filesystem')
-rw-r--r--src/lua/modules/filesystem/filesystem.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lua/modules/filesystem/filesystem.cpp b/src/lua/modules/filesystem/filesystem.cpp
index c3dabad..e388ae1 100644
--- a/src/lua/modules/filesystem/filesystem.cpp
+++ b/src/lua/modules/filesystem/filesystem.cpp
@@ -120,13 +120,13 @@ namespace lua
}
static const luaL_Reg f[] = {
- { "init", l_init },
- { "mount", l_mount },
- { "isDir", l_isDir },
- { "isFile", l_isFile },
- { "exist", l_exist },
- { "read", l_read },
- { 0, 0 }
+ { "init", l_init },
+ { "mount", l_mount },
+ { "isDirectory", l_isDir },
+ { "isFile", l_isFile },
+ { "exist", l_exist },
+ { "read", l_read },
+ { 0, 0 }
};
int luaopen_filesystem(lua_State* L)