rust/hg-core/src/dirstate/status.rs
branchstable
changeset 44742 d8b703b8bf70
parent 44604 e62052d0f377
child 44743 a467416c493c
equal deleted inserted replaced
44741:c36a3fcfc36b 44742:d8b703b8bf70
   305 }
   305 }
   306 
   306 
   307 /// Dispatch a single entry (file, folder, symlink...) found during `traverse`.
   307 /// Dispatch a single entry (file, folder, symlink...) found during `traverse`.
   308 /// If the entry is a folder that needs to be traversed, it will be handled
   308 /// If the entry is a folder that needs to be traversed, it will be handled
   309 /// in a separate thread.
   309 /// in a separate thread.
   310 
       
   311 fn handle_traversed_entry<'a>(
   310 fn handle_traversed_entry<'a>(
   312     scope: &rayon::Scope<'a>,
   311     scope: &rayon::Scope<'a>,
   313     files_sender: &'a crossbeam::Sender<IoResult<(HgPathBuf, Dispatch)>>,
   312     files_sender: &'a crossbeam::Sender<IoResult<(HgPathBuf, Dispatch)>>,
   314     matcher: &'a (impl Matcher + Sync),
   313     matcher: &'a (impl Matcher + Sync),
   315     root_dir: impl AsRef<Path> + Sync + Send + Copy + 'a,
   314     root_dir: impl AsRef<Path> + Sync + Send + Copy + 'a,