mirror of
https://github.com/golang/go
synced 2024-11-19 01:04:40 -07:00
857b4dd9f8
The root of the module containing a package in the module cache can be determined by looking at the directory path. Use this instead of scanning up the file tree to find the mod file of a package from a module cache. The go command prunes nested modules before populating the module cache, so there is only one go.mod within each module. Change-Id: I434a04350ef3ca2f44b7ffd08ccc5afe4209654f Reviewed-on: https://go-review.googlesource.com/c/tools/+/190906 Run-TryBot: Suzy Mueller <suzmue@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 | ||
tool | ||
txtar | ||
xcontext |