mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:51:59 +00:00
* update sg log * use sg log and log sentry events * lookup sentry DSN from environment * Update enterprise/dev/ci/gen-pipeline.go Co-authored-by: Jean-Hadrien Chabran <jh@chabran.fr> * Update enterprise/dev/ci/internal/ci/pipeline.go * Update dev/sg/internal/analytics/context.go Co-authored-by: Robert Lin <robert@bobheadxi.dev> * Update enterprise/dev/ci/gen-pipeline.go Co-authored-by: Robert Lin <robert@bobheadxi.dev> * remove package level logger Co-authored-by: Jean-Hadrien Chabran <jh@chabran.fr> Co-authored-by: Robert Lin <robert@bobheadxi.dev> |
||
|---|---|---|
| .. | ||
| fetcher | ||
| gitserver | ||
| internal | ||
| observability | ||
| parser | ||
| shared | ||
| squirrel | ||
| types | ||
| build-ctags.sh | ||
| build.sh | ||
| CODENOTIFY | ||
| ctags-install-alpine.sh | ||
| Dockerfile | ||
| go-build.sh | ||
| main.go | ||
| README.md | ||
| universal-ctags-dev | ||
symbols
Indexes symbols in repositories using Ctags. Similar in architecture to searcher, except over ctags output.
The ctags output is stored in SQLite files on disk (one per repository@commit). Ctags processing is lazy, so it will occur only when you first query the symbols service. Subsequent queries will use the cached on-disk SQLite DB.
It is used by basic-code-intel to provide the jump-to-definition feature.
It supports regex queries, with prefix queries (^foo) and exact match queries (^foo$) optimized to perform index lookups. The symbols sidebar and search-based code intel benefit from these optimizations.