1
0
mirror of https://github.com/golang/go synced 2024-11-19 00:54:42 -07:00
go/internal/lsp/cache
Ian Cottrell 2c3de6a5ae internal/lsp: change file system to allow lazy reads
We split aquiring a "handle" from reading a files contents so that we can do the
former eagerly and the latter lazily.
We also "version" the handles so that the same file at different versions is a
different handle.

Change-Id: I06cc346d4b4c77d784aa454702c54689f2f177e0
Reviewed-on: https://go-review.googlesource.com/c/tools/+/179917
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-06-06 01:09:34 +00:00
..
cache.go internal/lsp: change file system to allow lazy reads 2019-06-06 01:09:34 +00:00
check.go internal/lsp: trim ASTs for which we do not require function bodies 2019-06-03 19:34:55 +00:00
external.go internal/lsp: change file system to allow lazy reads 2019-06-06 01:09:34 +00:00
file.go internal/lsp: change file system to allow lazy reads 2019-06-06 01:09:34 +00:00
gofile.go internal/lsp: trim ASTs for which we do not require function bodies 2019-06-03 19:34:55 +00:00
load.go internal/lsp: trim ASTs for which we do not require function bodies 2019-06-03 19:34:55 +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: trim ASTs for which we do not require function bodies 2019-06-03 19:34:55 +00:00
pkg.go internal/lsp: fix regression from CL 179439 2019-06-03 19:23:55 +00:00
session.go internal/lsp: change file system to allow lazy reads 2019-06-06 01:09:34 +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: support build flags on processConfig 2019-06-03 21:18:25 +00:00
watcher.go internal/lsp: add file watching and use it to trigger invalidations 2019-05-24 14:03:12 +00:00