Skip to content

basestore: Refactor scan primitives

Administrator requested to merge ef/scan-generics-refactor into main

Created by: efritz

This PR propose adding NewSliceScanner and NewFirstScanner as the primitives of basestore scanner factories. See the reduction of usage within the file, and also see a sample usage in enterprise/internal/codeintel/stores/dbstore/uploads.go, which we replicate incrementally through the rest of the codebase.

Test plan

Compiler and existing unit tests.

Merge request reports

Loading