From 3cda745549df7205b5854683ba89834b91dc757b Mon Sep 17 00:00:00 2001 From: liuhonglin9 Date: Mon, 14 Aug 2023 07:30:06 +0000 Subject: [PATCH] change rootinfo to fileinfo(comments) Signed-off-by: liuhonglin9 --- zh-cn/application-dev/reference/apis/js-apis-fileAccess.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-fileAccess.md b/zh-cn/application-dev/reference/apis/js-apis-fileAccess.md index dedb6a0dcb..a8fc1059a7 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-fileAccess.md +++ b/zh-cn/application-dev/reference/apis/js-apis-fileAccess.md @@ -248,7 +248,7 @@ listFile(filter?: Filter) : FileIterator try { let fileIterator = fileInfoDir.listFile(); // 含过滤器实现的listFile - // let fileIterator = rootInfo.listFile(filter); + // let fileIterator = fileInfoDir.listFile(filter); if (!fileIterator) { console.error("listFile interface returns an undefined object"); return; @@ -304,7 +304,7 @@ scanFile(filter?: Filter) : FileIterator; try { let fileIterator = fileInfoDir.scanFile(); // 含过滤器实现的scanFile - // let fileIterator = rootInfo.scanFile(filter); + // let fileIterator = fileInfoDir.scanFile(filter); if (!fileIterator) { console.error("scanFile interface returns an undefined object"); return; -- GitLab