search: expose registry param in ScanPredicate for reuse
Created by: rvantonder
Stacked on https://github.com/sourcegraph/sourcegraph/pull/26476.
As per title.
Created by: rvantonder
Stacked on https://github.com/sourcegraph/sourcegraph/pull/26476.
As per title.