mirror of
https://github.com/golang/go
synced 2024-11-19 08:14:40 -07:00
e0332898b9
The view should really be able to determine if it's valid, not the source package. Expand moduleInformation to be buildInfo, and use it to collect additional details. Use this information to determine if we should load a view's subdirectories as part of the initial workspace load. If a module is initialized, we will recreate the view, so we should be fine. Not sure what will happen if the directory is moved into GOPATH, but that should be less of a concern (I think). Fixes golang/go#35818. Change-Id: Ic8ceedd37386b1653b8965c64d9ba8953778ab78 Reviewed-on: https://go-review.googlesource.com/c/tools/+/216143 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 | ||
mod_tidy.go | ||
overlay.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
view.go |