зеркало из https://github.com/golang/tools.git
e0b516bc0a
This change causes the snapshot to watch the vendor/modules.txt file and to invalidate the metadata if it changes, since it could cause modules to move. Also, add a regression test for the bug in which running go mod vendor causes a module to move, but the Definitions operation reports the old location. (And the reverse case of deleting the vendor tree.) Also, add persistent.Map.String method, for debugging. Fixes golang/go#55995 Change-Id: I48302416586c763b4a4de7d67aaa88fde52ea400 Reviewed-on: https://go-review.googlesource.com/c/tools/+/454315 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Alan Donovan <adonovan@google.com> Reviewed-by: Robert Findley <rfindley@google.com> |
||
---|---|---|
.. | ||
map.go | ||
map_test.go |