sourcegraph/internal/uploadhandler
Camden Cheek 341998d874
Chore: clean up RepositoryResolver, part II (#59405)
This does a few things to further clean up RepositoryResolver:

- It splits NewMinimalRepositoryResolver out of NewRepositoryResolver to make it more obvious when we're creating a fully-resolved RepositoryResolver and a lazy RepositoryResolver. It's pretty error prone to pass in a *types.Repo with only the Name and ID fields set.
- It moves the always-available fields ID and Name directly onto the struct to make it more clear that those are safe to use directly
- It refactors the lazy hydration to the more standard sync.Once pattern
- It changes a bunch of call sites to use api.RepoName instead of *types.Repo when a fully-resolved repo is not actually needed (removing a few DB calls in the process)
2024-01-09 17:17:06 +00:00
..
BUILD.bazel ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
iface.go codeintel: Higher-level store cleanup (#50387) 2023-04-05 19:08:47 -05:00
mocks_test.go codeintel: Higher-level store cleanup (#50387) 2023-04-05 19:08:47 -05:00
observability.go Housekeeping: Rename variables to avoid collisions with packages (#47179) 2023-01-31 16:28:43 +01:00
upload_handler_multipart.go Observation: use opentelemetry types rather than opentracing types (#51958) 2023-05-16 09:19:27 -06:00
upload_handler_single.go Observation: use opentelemetry types rather than opentracing types (#51958) 2023-05-16 09:19:27 -06:00
upload_handler_state.go upload: Make a generic interface (#41696) 2022-09-21 09:30:36 -05:00
upload_handler_test.go Chore: clean up RepositoryResolver, part II (#59405) 2024-01-09 17:17:06 +00:00
upload_handler.go Observation: use opentelemetry types rather than opentracing types (#51958) 2023-05-16 09:19:27 -06:00