aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/filesystem/filesystem.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-10-05 15:40:31 +0800
committerchai <chaifix@163.com>2018-10-05 15:40:31 +0800
commit789895b4b9f99668b8b772f271d07d1ce3115742 (patch)
tree3ae85381358445b2c29c9a0afb59375de9a7ce66 /src/lua/modules/filesystem/filesystem.cpp
parent846d6ab0ec1033481574e8324a43fc547ecf5882 (diff)
*update
Diffstat (limited to 'src/lua/modules/filesystem/filesystem.cpp')
-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)