search: add `has` aliases for `contains` predicates
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: tbliu98
Part of #39767 (closed)
repo:has.file
== repo:contains.file
repo:has.content
== repo:contains.content
repo:has.path
== repo:contains.path
repo:has.commit.after
== repo:contains.commit.after
file:has.content
== file.contains.content
VisitTypedPredicate()
to handle aliasesFileContainsContent()
to use VisitTypedPredicate()
now that it handles aliasesAdd test for VisitTypedPredicate()
to make sure aliases are recognized.
Manually test that has
aliases return the same results as contains
Push commits to the source branch or add previously merged commits to review them.