mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
For precise usagesForSymbols, we want to propagate usages everywhere (with associated symbol names, not just 'Location' values). This PR introduces the new Usage type, and unifies the old GetBulkSymbolUsages and GetMinimalBulkSymbolUsages APIs into a single GetSymbolUsages API. We convert the Usage values to Location to avoid changing a lot of code at once. We also change the DB query to do grouping and aggregation for us instead of doing it in Go code. --------- Co-authored-by: Christoph Hegemann <christoph.hegemann@sourcegraph.com> |
||
|---|---|---|
| .. | ||
| bodyclose | ||
| dbconn | ||
| depguard | ||
| exhaustruct | ||
| forbidigo | ||
| gocheckcompilerdirectives | ||
| gocritic | ||
| ineffassign | ||
| logging | ||
| nolint | ||
| nolocalhost | ||
| staticcheck | ||
| tracinglibraries | ||
| unparam | ||
| unused | ||
| go.mod | ||
| go.sum | ||