提交 3cda7455 编写于 作者: L liuhonglin9

change rootinfo to fileinfo(comments)

Signed-off-by: Nliuhonglin9 <liuhonglin9@huawei.com>
上级 23d494fa
...@@ -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.
先完成此消息的编辑!
想要评论请 注册