diff options
author | Heschi Kreinick <heschi@google.com> | 2018-10-25 18:51:23 -0400 |
---|---|---|
committer | Heschi Kreinick <heschi@google.com> | 2018-10-30 00:03:57 +0000 |
commit | 00c5fa58688ea7ffa51656ec1d88eb2c67844802 (patch) | |
tree | f37ccee13ff6e3f8d51172bef993cac94409f8c1 /imports | |
parent | 2d2de6298155751e44170d1c9a9baacb688d2606 (diff) | |
download | golang-x-tools-00c5fa58688ea7ffa51656ec1d88eb2c67844802.tar.gz |
go/packages: find mismatched top level packages in name=
Treat the top-level package of a module specially so that the VCS
working dir name doesn't have to match the package name. Generally we
take the position that directory names should match packages, but for
the top-level package that's a pretty strict requirement. Now we always
check the top-level directory, just in case.
Change-Id: I2e96751bf46736fbaef434fa9788fdc1339c37b9
Reviewed-on: https://go-review.googlesource.com/c/144817
Reviewed-by: Ian Cottrell <iancottrell@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'imports')
0 files changed, 0 insertions, 0 deletions