1
0
mirror of https://github.com/golang/go synced 2024-11-19 01:34:40 -07:00
go/internal/lsp/cache
Rebecca Stambler 59534d075a internal/lsp: use ids instead of package paths as map keys
This adds an IDs map to the metadata cache, which maps package paths to
IDs. This is only ever used by the Import function in the type checker.

Change-Id: I8677d9439895bc6cbca5072e3fa9fddad4e165d5
Reviewed-on: https://go-review.googlesource.com/c/tools/+/181683
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-06-12 18:00:59 +00:00
..
cache.go internal/lsp: using memoize for all file contents 2019-06-11 20:12:47 +00:00
check.go internal/lsp: use ids instead of package paths as map keys 2019-06-12 18:00:59 +00:00
external.go internal/lsp: using memoize for all file contents 2019-06-11 20:12:47 +00:00
file.go internal/lsp: remove source.FileContent 2019-06-06 05:02:23 +00:00
gofile.go internal/lsp: use ids instead of package paths as map keys 2019-06-12 18:00:59 +00:00
load.go internal/lsp: use ids instead of package paths as map keys 2019-06-12 18:00:59 +00:00
modfile.go internal/lsp: add modfile, sumfile structs, require Go files for diagnostics 2019-05-24 21:02:28 +00:00
parse.go internal/lsp: fix errors when adding new file to existing package 2019-06-11 22:22:05 +00:00
pkg.go internal/lsp: use ids instead of package paths as map keys 2019-06-12 18:00:59 +00:00
session.go internal/lsp: use ids instead of package paths as map keys 2019-06-12 18:00:59 +00:00
sumfile.go internal/lsp: add modfile, sumfile structs, require Go files for diagnostics 2019-05-24 21:02:28 +00:00
view.go internal/lsp: use ids instead of package paths as map keys 2019-06-12 18:00:59 +00:00
watcher.go internal/lsp: add file watching and use it to trigger invalidations 2019-05-24 14:03:12 +00:00