Search backend: optimize repo:contains(file:foo)
Created by: camdencheek
This optimizes repo:contains()
predicates that only contain file
patterns. Our current contains machinery cannot handle content yet.
Test plan
Added a test to ensure repo:contains(file:xyz)
is replaced, but repo:contains(content:xyz)
is not