Fix most of the TODOs

This commit is contained in:
Kirill Bulatov 2023-11-16 22:48:26 +02:00
parent 6028cd90d4
commit 8180938401
5 changed files with 8 additions and 6 deletions

View file

@ -3502,6 +3502,7 @@ impl BackgroundScanner {
let state = self.state.lock();
let snapshot = &state.snapshot;
root_abs_path = snapshot.abs_path().clone();
// TODO kb we need `DOT_GIT` and `GITIGNORE` entries always processed.
if snapshot.is_abs_path_excluded(&job.abs_path) {
log::error!("skipping excluded directory {:?}", job.path);
return Ok(());