From 24fb1dca7ae44d25ee7bc675fb7cc65f63ac3de0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8B=B8=E7=8C=AB=E5=91=90?= <111165793+limao996@users.noreply.github.com> Date: Mon, 4 Sep 2023 18:02:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20`writeBytes`=20=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E7=9A=84=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4ac2a9a..ef67846 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,7 @@ [![Telegram Group](https://img.shields.io/badge/Telegram_Group-limao__lua-0099FF?logo=telegram)](https://t.me/limao_lua) ## 更新内容 -<<<<<<< HEAD - **`2.0.2`**(2023-09-04) -======= -- **`2.0.2`**(2023-08-31) ->>>>>>> cbeb46cc5e30ddea514de8b26a63ad525a6ba527 + 修复 `writeBytes` 方法的异常 - **`2.0.1`**(2023-08-31) + 修复若干Bug @@ -72,6 +68,7 @@ local node = dir:open('path/file.ext') ### 2. 创建子节点 ```lua +-- 返回新的节点对象(安卓12可能返回nil) -- 创建文件夹节点 local test = dir:create('test/') @@ -81,7 +78,7 @@ local log = test:create('log.txt') ### 3. 重命名子节点 ```lua --- 返回新的节点对象 +-- 返回新的节点对象(安卓12可能返回nil) dir:rename('old', 'new') ``` @@ -133,7 +130,6 @@ dir:lastModified('demo.avi') ### 10. 文件IO服务 > 提示:文件操作会自动调用该方法 - ```lua --- 可读 node:IO(afs.READ)