未验证 提交 214c1928 编写于 作者: O openharmony_ci 提交者: Gitee

!22268 change rootinfo to fileinfo(comments)

Merge pull request !22268 from Ariston/master
...@@ -248,7 +248,7 @@ listFile(filter?: Filter) : FileIterator ...@@ -248,7 +248,7 @@ listFile(filter?: Filter) : FileIterator
try { try {
let fileIterator = fileInfoDir.listFile(); let fileIterator = fileInfoDir.listFile();
// 含过滤器实现的listFile // 含过滤器实现的listFile
// let fileIterator = rootInfo.listFile(filter); // let fileIterator = fileInfoDir.listFile(filter);
if (!fileIterator) { if (!fileIterator) {
console.error("listFile interface returns an undefined object"); console.error("listFile interface returns an undefined object");
return; return;
...@@ -304,7 +304,7 @@ scanFile(filter?: Filter) : FileIterator; ...@@ -304,7 +304,7 @@ scanFile(filter?: Filter) : FileIterator;
try { try {
let fileIterator = fileInfoDir.scanFile(); let fileIterator = fileInfoDir.scanFile();
// 含过滤器实现的scanFile // 含过滤器实现的scanFile
// let fileIterator = rootInfo.scanFile(filter); // let fileIterator = fileInfoDir.scanFile(filter);
if (!fileIterator) { if (!fileIterator) {
console.error("scanFile interface returns an undefined object"); console.error("scanFile interface returns an undefined object");
return; return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册