mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 20:11:54 +00:00
Fixes https://linear.app/sourcegraph/issue/GRAPH-700 Previously, there were two code paths which were checking if certain upload IDs containing a specific repo-relative path. One was using the better GetPathExists API, the another one that I recently added was much more stupid, it was deserializing the full SCIP Document. However, using `GetPathExists` in a loop is also not great; we should push the loop into the database. This patch replaces both of those usage sites with a single function that handles bulk filtering, and replaces the `GetPathExists` lsifstore method with `FindDocumentIDs`. |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| types.go | ||