mirror of
https://github.com/golang/go
synced 2024-11-18 13:14:47 -07:00
125cc70a40
This change addresses an underlying issue with the go.mod code, which is that it was modifying go.mod files without cloning them. This could've resulted in some ugly race conditions. We also handle the fact that new dependencies weren't being added cleanly to files that already had unused dependencies. Fixes golang/go#39041 Change-Id: I96ee0052d8d29a25e24f0bda9688e780a0fa7442 Reviewed-on: https://go-review.googlesource.com/c/tools/+/241443 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
---|---|---|
.. | ||
testdata/unchanged | ||
code_lens.go | ||
diagnostics.go | ||
format.go | ||
hover.go | ||
mod_test.go |