tools/gopls/internal/mod
Rob Findley c043599d4e gopls/internal/protocol: add DocumentURI.DirPath
To simplify many callsites where we called filepath.Dir on uri.Path(),
introduce the DocumentURI.DirPath helper method. This clarified many
call sites, and could make it easier to optimize URI manipulation in the
future.

Change-Id: Icc64155b6bba631f9df5da5a05e3126c7cb7954b
Reviewed-on: https://go-review.googlesource.com/c/tools/+/626716
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
2024-11-14 23:37:56 +00:00
..
code_lens.go gopls/internal/protocol: add DocumentURI.DirPath 2024-11-14 23:37:56 +00:00
diagnostics.go gopls: remove cruft 2024-10-14 14:09:51 +00:00
format.go gopls/internal/protocol: move out of lsp/ 2024-01-24 00:48:12 +00:00
hover.go gopls/internal/protocol: move out of lsp/ 2024-01-24 00:48:12 +00:00
inlayhint.go gopls/internal/protocol: move out of lsp/ 2024-01-24 00:48:12 +00:00