Skip to content

Commit

Permalink
Add description of why parameter has no effect.
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbings committed Jul 6, 2024
1 parent f4bb537 commit 7413637
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/find/matchers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,12 @@ fn build_matcher_tree(

return Ok((i, top_level_matcher.build()));
}
// In our implementation, including the `-exec` parameter,
// it is always run in a single thread.
// Therefore, there is no race condition for now.
// and we currently only add the corresponding fields in Config.
//
// Related: https://github.com/uutils/findutils/pull/411#issuecomment-2210638686
"-ignore_readdir_race" => {
config.ignore_readdir_race = true;
None
Expand Down

0 comments on commit 7413637

Please sign in to comment.