Преглед на файлове

Merge branch 'master' of https://gitee.com/openLuat/LuatOS

alienwalker преди 7 месеца
родител
ревизия
a1f1222ff4
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      lua/src/liolib.c

+ 2 - 1
lua/src/liolib.c

@@ -989,7 +989,8 @@ static int l_fs_fsstat(lua_State *L) {
 @string 目录路径
 @return bool 存在返回true,否则返回false
 @usage
-log.info("io", "dir dexist", io.dexist("/boottime"))
+-- 本函数于2025.8.12新增
+log.info("io", "dir存在吗?", io.dexist("/sd/myf"))
  */
 static int io_dexist (lua_State *L) {
   const char *dirname = luaL_checkstring(L, 1);