From 74136375caf31aaee155c1a1abe487d821a96b74 Mon Sep 17 00:00:00 2001 From: hanbings Date: Sat, 6 Jul 2024 01:31:38 -0400 Subject: [PATCH] Add description of why parameter has no effect. --- src/find/matchers/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/find/matchers/mod.rs b/src/find/matchers/mod.rs index 87f6dbce..47ca2b08 100644 --- a/src/find/matchers/mod.rs +++ b/src/find/matchers/mod.rs @@ -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