Closed
Description
This is a tracking issue for the fs_walk
unstable feature in the standard library. Some of the open questions currently are:
- There are many many ways to walk a directory, and there probably wants to be something like a
WalkBuilder
structure. - The current walking strategy holds open a lot of file descriptors - walk_dir uses too many file descriptors #23715
- The default walking strategy has not been well audited for all manner of fs corner cases
The C++ <filesystem>
implementation of walking directories is quite a useful reference in terms of what options we may want as well as what we haven't implemented. Note that this is a large enough feature that this may want to be prototyped outside the standard library first and then perhaps consider moving in at a later date.