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.
1 parent a0af270 commit 522d970Copy full SHA for 522d970
src/lib.rs
@@ -878,6 +878,9 @@ fn fill_todo(
878
});
879
match dirs {
880
Ok(mut children) => {
881
+ if options.require_literal_leading_dot {
882
+ children.retain(|x| !x.file_name().unwrap().to_str().unwrap().starts_with("."));
883
+ }
884
children.sort_by(|p1, p2| p2.file_name().cmp(&p1.file_name()));
885
todo.extend(children.into_iter().map(|x| Ok((x, idx))));
886
0 commit comments