An iterator that traverses an entire directory tree.
An iterater that traverses and entire directory tree. It can be configured to exclude specific files or entire directory trees. A minimum or maximum directory depth may also be set.
```rust extern crate fstree; use fstree::FsTreeBuilder;
fn main() { let fstree = FsTreeBuilder::new("/var") .maxdepth(3) .ignore_files(&["/var/log/lastlog"]) .build();
for file in fs_tree {
println!("{:?}", file);
}
}