mirror of
https://github.com/golang/go
synced 2024-10-01 04:08:32 -06:00
eb7cb10de1
This change moves from caching package information the file object to caching in a map that gets invalidated when content changes. This simplifies cache invalidation and reduces the number of fields guarded by the (*goFile).mu lock. Change-Id: I33fef6e0b18badb97e49052d9d6e3c15047c4b63 Reviewed-on: https://go-review.googlesource.com/c/tools/+/196984 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com> |
||
---|---|---|
.. | ||
analysis.go | ||
builtin.go | ||
cache.go | ||
check.go | ||
external.go | ||
file.go | ||
gofile.go | ||
load.go | ||
modfile.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
sumfile.go | ||
token.go | ||
view.go | ||
watcher.go |