Skip to content

search: inline SearchFilesInReposBatch

Administrator requested to merge backend-integration/rvt/inline-search-batch into main

Created by: rvantonder

This just inlines SearchFilesInReposBatch where it's used for repoHasFile. The diff looks busy but it's only because of updating the mocking code. I don't recommend spending time reading changes in test files.

The reason this helps is because I can now simplify logic for repo index/unindex partitioning inside these function without (more annoying) changes signature/args to SearchFilesInRepos* functions.

Test plan

Semantics-preserving

Merge request reports

Loading