BurntSushi / walkdir

Rust library for walking directories recursively.
The Unlicense
1.21k stars 106 forks source link

walkdir: add option to stay on same file system #110

Closed BurntSushi closed 5 years ago

BurntSushi commented 5 years ago

This commit includes a new method, same_file_system, which when enabled, will cause walkdir to only descend into directories that are on the same file system as the root path.

Closes #8, Closes #107


While this PR retains the authorship of #107, this ended up requiring significant refactoring:

BurntSushi commented 5 years ago

This PR is on crates.io in walkdir 2.2.2.