mirror of https://github.com/golang/go.git
This change creates the infrastructure for caching diagnostics. Right now it uses a naive key of the entire snapshot which does not really add any benefit from using the cache. It also moves some code from inside the internal/lsp/mod to internal/lsp/cache. Updates golang/go#31999 Change-Id: I599ad281baa062448d33ca0ea88ae6e09e10d73e Reviewed-on: https://go-review.googlesource.com/c/tools/+/215021 Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
|---|---|---|
| .. | ||
| analysis.go | ||
| cache.go | ||
| check.go | ||
| debug.go | ||
| error_test.go | ||
| errors.go | ||
| external.go | ||
| load.go | ||
| modfiles.go | ||
| overlay.go | ||
| parse.go | ||
| parse_mod.go | ||
| pkg.go | ||
| session.go | ||
| snapshot.go | ||
| view.go | ||