We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d3dc64d + c747dcb commit e07b09cCopy full SHA for e07b09c
1 file changed
src/fs_tree_builder.rs
@@ -87,7 +87,7 @@ where
87
Ok(stats) => stats,
88
};
89
90
- let children: Vec<_> = if stats.file_type().is_dir() {
+ let children: Vec<_> = if stats.is_dir() {
91
match read_dir(path) {
92
Err(error) => {
93
reporter.report(Event::EncounterError(ErrorReport {
0 commit comments