mirror of https://github.com/golang/go.git
Invalidating metadata for reverse dependencies isn't necessary, except for in the case of test variants and x_tests. An example: The only way to reload the metadata for "golang.org/x/tools/internal/lsp/cache [golang.org/x/tools/internal/lsp/source.test]" is by reloading "golang.org/x/tools/internal/lsp/source" with "[-test -deps]". That means we have to invalidate the metadata for that "golang.org/x/tools/internal/lsp/source_test" when we invalidating "golang.org/x/tools/internal/lsp/cache". Fixes golang/go#36165 Change-Id: Iff0e03a7a46158fbdafaffa091f90ca434700a97 Reviewed-on: https://go-review.googlesource.com/c/tools/+/215117 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
|---|---|---|
| .. | ||
| analysis.go | ||
| cache.go | ||
| check.go | ||
| debug.go | ||
| error_test.go | ||
| errors.go | ||
| external.go | ||
| load.go | ||
| modfiles.go | ||
| overlay.go | ||
| parse.go | ||
| parse_mod.go | ||
| pkg.go | ||
| session.go | ||
| snapshot.go | ||
| view.go | ||