-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/lsp/cache: pass workspace information into createView
As a first step toward inverting control of View construction, pass in the workspace information rather than querying it inside createView. This avoids a redundant call to getWorkspaceInformation (which invokes the Go command) during invalidation. For golang/go#57979 Change-Id: I6e5308dd7c57c32f1a03c09f501aac8ffeb369e8 Reviewed-on: https://go-review.googlesource.com/c/tools/+/539657 Reviewed-by: Alan Donovan <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
- Loading branch information
Showing
2 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters