Add recollindex option to write file not indexed reasons to diagnostics file

This commit is contained in:
Jean-Francois Dockes
2021-04-01 10:32:04 +02:00
parent 485a0fc650
commit 4756b1252b
18 changed files with 288 additions and 81 deletions
+2 -6
View File
@@ -411,9 +411,7 @@ FsTreeWalker::Status FsTreeWalker::iwalk(const string &top,
// Skipped file names match ?
if (!data->skippedNames.empty()) {
if (inSkippedNames(dname)) {
if (data->options & FtwOnlySkipped) {
cb.processone(path_cat(top, dname), nullptr, FtwSkipped);
}
cb.processone(path_cat(top, dname), nullptr, FtwSkipped);
continue;
}
}
@@ -428,9 +426,7 @@ FsTreeWalker::Status FsTreeWalker::iwalk(const string &top,
// this was broken by 1.13.00 and the systematic use of
// FNM_LEADING_DIR
if (inSkippedPaths(fn, false)) {
if (data->options & FtwOnlySkipped) {
cb.processone(fn, nullptr, FtwSkipped);
}
cb.processone(fn, nullptr, FtwSkipped);
continue;
}
}