indexerconfig: Expose canBeSearched function
ClosedPublic

Authored by michaelh on Feb 19 2018, 4:05 PM.

Details

Summary

Make D10205 public

CCBUG:388656

Diff Detail

Repository
R293 Baloo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
michaelh created this revision.Feb 19 2018, 4:05 PM
Restricted Application added a subscriber: Frameworks. · View Herald TranscriptFeb 19 2018, 4:05 PM
michaelh requested review of this revision.Feb 19 2018, 4:05 PM
adridg added a subscriber: adridg.Feb 21 2018, 9:17 AM
adridg added inline comments.
src/lib/indexerconfig.h
42

This description says only includeFolders() is taken into account. The next paragraph says "should be indexed", which suggests that the function shouldBeIndexed() is involved -- but that does a whole different set of checks, also using the excludes. Either rephrase to avoid the "should be indexed" verb here, or make more clear what exactly the criterium is.

47

Probably \c true, see also D10662.

michaelh updated this revision to Diff 27667.Feb 21 2018, 11:00 AM
  • indexerconfig: Rephrase description
michaelh marked 2 inline comments as done.Feb 21 2018, 11:08 AM
lbeltrame accepted this revision.Feb 22 2018, 1:03 PM
lbeltrame added a subscriber: lbeltrame.

For what it's worth, LGTM .

This revision is now accepted and ready to land.Feb 22 2018, 1:03 PM
This revision was automatically updated to reflect the committed changes.