Skip to content

Add `repo:dependents` predicate to allow reverse-dependency search

Warren Gifford requested to merge mrn/dependents-search into main

Created by: mrnugget

This PR adds repo:dependents and repo:revdeps as search predicates, mirroring exactly what repo:dependencies and repo:deps do, except that the new code calls into the dependencies.(*Service).Dependents method.

This fixes https://github.com/sourcegraph/sourcegraph/issues/32661.

Screenshot

screenshot_2022-05-17_16 02 17@2x

Test plan

  • Existing tests & CI

Merge request reports

Loading