mirror of https://github.com/golang/go.git
This change treats the GOMODCACHE like a directory filter, and it excludes any modules under the module cache from being considered part of the workspace. This can happen when users open their entire GOPATH. To do this, I had to propagate the view's root and gomodcache through the exclusion functions, and I also had to add BuildGoplsMod to the snapshot's interface. Change-Id: Id80b359d73d09a525b380389917451e85357b784 Reviewed-on: https://go-review.googlesource.com/c/tools/+/326816 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> |
||
|---|---|---|
| .. | ||
| analysisinternal | ||
| apidiff | ||
| event | ||
| fakenet | ||
| fastwalk | ||
| gocommand | ||
| gopathwalk | ||
| imports | ||
| jsonrpc2 | ||
| jsonrpc2_v2 | ||
| lsp | ||
| memoize | ||
| packagesinternal | ||
| proxydir | ||
| span | ||
| stack | ||
| testenv | ||
| tool | ||
| typeparams | ||
| typesinternal | ||
| xcontext | ||