mirror of https://github.com/golang/go.git
Hold the session's overlay mutex the whole time we compute new overlays, and then pass these overlays directly into clone. This avoids us calling s.session.GetFile, which can return overlays that the snapshot doesn't yet "know" about. Change-Id: I1a10c78e26f8fec64550bfe0a97b5975ea8f976b Reviewed-on: https://go-review.googlesource.com/c/tools/+/218321 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
|---|---|---|
| .. | ||
| analysis.go | ||
| cache.go | ||
| check.go | ||
| debug.go | ||
| error_test.go | ||
| errors.go | ||
| external.go | ||
| load.go | ||
| mod_tidy.go | ||
| parse.go | ||
| pkg.go | ||
| session.go | ||
| snapshot.go | ||
| view.go | ||