pub fn make_recheck_handler(
output_snd: &XvcOutputSender,
xvc_root: &XvcRoot,
ignore_writer: &Sender<IgnoreOp>,
) -> Result<(Sender<RecheckOp>, JoinHandle<()>)>
Expand description
Build a recheck handler in a separate thread and connect it with a channel.
You must build an ignore writer with make_ignore_handler
before building this.
All rechecked files are gitignored using given ignore_handler
.
Use the returned channel to send RecheckOp
messages to recheck files, then send None
to the channel to exit
from the loop and join the returned thread.