mirror of https://github.com/golang/go.git
This change removes functions from the snapshot that return package IDs. We prefer PackageHandles, since getting PackageHandles in a granular fashion is not effective and causes us to spawn many `go list` processes. By only ever returning PackageHandles, we can batch metadata reloads for workspace packages. This enables us to add a check to confirm that the snapshot is in a good state before returning important data, like reverse dependencies and workspace package handles. Change-Id: Icffc8d8e0449864f207c15aa211e84cb158c163f Reviewed-on: https://go-review.googlesource.com/c/tools/+/214383 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
|---|---|---|
| .. | ||
| apidiff | ||
| fastwalk | ||
| gopathwalk | ||
| imports | ||
| jsonrpc2 | ||
| lsp | ||
| memoize | ||
| module | ||
| semver | ||
| span | ||
| telemetry | ||
| testenv | ||
| tool | ||
| xcontext | ||