Imagine a scenario in which you want to traverse a directory tree recursively, stopping at each file and directory under that tree and having your own callback methods invoked for each entry found.
设想一个场景,您想要递归地访问一个目录树,在该树中的每个文件及目录上停下来,并为每个查找到的条目调用您自己的回调方法。
In this step, you will traverse the source file system tree.
在这个步骤中,您将遍历源文件系统树。
Another scenario is that you have a deep nested file that you want to access quickly instead of traverse through one branch by one branch.
另一种情况是,你有深刻的巢式文件,您要访问的快速而不是导线通过一科一科。
应用推荐