tools/internal/lsp/cache
Ian Cottrell e88138204b internal/span: change URI.Filename so it just returns the filename
We panic if the uri was not a valid file uri instead
They always are a valid file URI, and we would fail miserably to cope if they were
not anyway, and there are lots of places where we need to be able to get the filename
and don't want to cope with an error that cannot occur.
If we ever have not file uri's, you will have to check if it is a file before calling
.Filename, which seems reasonable anyway.

Change-Id: Ifb26a165bd43c2d310378314550b5749b09e2ebd
Reviewed-on: https://go-review.googlesource.com/c/tools/+/181017
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-06-10 21:39:43 +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: enable "ignoreFuncBodies" and fix caching 2019-06-10 18:14:45 +00:00
external.go internal/span: change URI.Filename so it just returns the filename 2019-06-10 21:39:43 +00:00
file.go internal/lsp: remove source.FileContent 2019-06-06 05:02:23 +00:00
gofile.go internal/lsp: track missing imports, re-running packages.Load 2019-06-10 18:15:09 +00:00
load.go internal/lsp: track missing imports, re-running packages.Load 2019-06-10 18:15:09 +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: enable "ignoreFuncBodies" and fix caching 2019-06-10 18:14:45 +00:00
pkg.go internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
session.go internal/span: change URI.Filename so it just returns the filename 2019-06-10 21:39:43 +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/span: change URI.Filename so it just returns the filename 2019-06-10 21:39:43 +00:00
watcher.go internal/lsp: add file watching and use it to trigger invalidations 2019-05-24 14:03:12 +00:00