Skip to content

search: add VisitPredicate helper

Administrator requested to merge rvt/pred-helper into main

Created by: rvantonder

Stacked on https://github.com/sourcegraph/sourcegraph/pull/31591. In support of https://github.com/sourcegraph/sourcegraph/pull/31577.

We can just use this helper to expose the value of repo:dependencies in the upcoming q.Dependencies() method.

Test plan

Added unit test.

Merge request reports

Loading