mirror of https://github.com/golang/go.git
We should be able to smoothly add and remove modules from the workspace. This change moves the module-related fields from the view into the snapshot so that they can be easily modified and recomputed. The workspace module is now a workspaceModuleHandle. Updates golang/go#32394 Change-Id: I6ade7f223cc6070a29b6021b825586b753a0daf1 Reviewed-on: https://go-review.googlesource.com/c/tools/+/254940 Trust: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> |
||
|---|---|---|
| .. | ||
| analysis.go | ||
| cache.go | ||
| check.go | ||
| error_test.go | ||
| errors.go | ||
| keys.go | ||
| load.go | ||
| mod.go | ||
| mod_tidy.go | ||
| os_darwin.go | ||
| os_windows.go | ||
| parse.go | ||
| parse_test.go | ||
| pkg.go | ||
| session.go | ||
| snapshot.go | ||
| view.go | ||
| view_test.go | ||