Gopher Robot submitted the change![Open in Gerrit]()
Change information
Commit message:
gopls/internal/protocol: refine DocumentURI Clean method and its usages
This CL tracks the comments left by Alan Donovan in CL663295, thanks again.
* change protocol.Clean function to DocumentURI method
* ensure the same key when access and operate viewMap
* factor some logics
Change-Id: Ib717705495997379ed0f872d438f238ca1308a23
Files:
- M gopls/internal/cache/session.go
- M gopls/internal/protocol/uri.go
- M gopls/internal/test/integration/fake/editor.go
Change size: S
Delta: 3 files changed, 18 insertions(+), 20 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +1 by Robert Findley, +2 by Alan Donovan
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Gerrit-MessageType: merged
Gerrit-Project: tools
Gerrit-Branch: master
Gerrit-Change-Id: Ib717705495997379ed0f872d438f238ca1308a23
Gerrit-Change-Number: 678416
Gerrit-PatchSet: 11