More lenient file path matchers
This commit is contained in:
parent
b8be720490
commit
1612c90052
3 changed files with 24 additions and 3 deletions
|
@ -3598,7 +3598,7 @@ impl BackgroundScanner {
|
|||
for entry in &mut new_entries {
|
||||
state.reuse_entry_id(entry);
|
||||
if entry.is_dir() {
|
||||
if state.should_scan_directory(&entry, &job.path.join(&entry.path)) {
|
||||
if state.should_scan_directory(&entry, &root_abs_path.join(&entry.path)) {
|
||||
job_ix += 1;
|
||||
} else {
|
||||
log::debug!("defer scanning directory {:?}", entry.path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue