mirror of
https://github.com/golang/go
synced 2024-11-05 11:46:12 -07:00
4d1d9acccf
The FileIdentity struct mixes information about the file itself (filename, hash) with information about the LSP references to that file (session ID, version). When we create a cache key using it, we only want the former, as returned by the String method. Otherwise we split the cache whenever those irrelevant fields are different. We also use FileIdentity as an element of diagnosticsKey, but I believe that use is appropriate. Change-Id: I094e00d2700e05778da635effbb69d0ebcb6726e Reviewed-on: https://go-review.googlesource.com/c/tools/+/244020 Reviewed-by: Robert Findley <rfindley@google.com> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
analysis.go | ||
cache.go | ||
check.go | ||
error_test.go | ||
errors.go | ||
keys.go | ||
load.go | ||
mod_tidy.go | ||
mod.go | ||
os_darwin.go | ||
os_windows.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
view_test.go | ||
view.go |