-
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: isolate getWorkspaceInformation from Session
getWorkspaceInformation will be a foundation of the zero-config gopls algorithm, which we will want to be unit-testable. Therefore, separate it from the session (it needs only a go command runner and file source). While at it, separate workspace information from folder information. For golang/go#57979 Change-Id: I79d6ad622dbd6f76afe979972a21b852f68ecf4d Reviewed-on: https://go-review.googlesource.com/c/tools/+/538803 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Alan Donovan <[email protected]> Auto-Submit: Robert Findley <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
- Loading branch information
Showing
2 changed files
with
18 additions
and
25 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