mirror of https://go.googlesource.com/go
4e91c5697a
Be more strict in IsStandardPackage: before this change we'd just check for the existence of the directory, but now we check to see that there's at least one .go file in the directory. Also update some comments in the modindex package to reflect the fact that an IndexPackage might represent a directory that does not contain any source files. Fixes #65406 Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-windows-amd64-longtest Change-Id: I82f0c0e7bfcd5bb4df0195c4c8c7fc7c67fae53e Reviewed-on: https://go-review.googlesource.com/c/go/+/561338 Reviewed-by: Bryan Mills <bcmills@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> |
||
---|---|---|
.. | ||
gc.go | ||
gccgo.go |