commit | e05463a05a18a08b42330f3e246c91dfac7fddfd | [log] [tgz] |
---|---|---|
author | Zvonimir Pavlinovic <zpavlinovic@google.com> | Fri Dec 10 09:30:59 2021 -0800 |
committer | Zvonimir Pavlinovic <zpavlinovic@google.com> | Fri Dec 10 18:56:55 2021 +0000 |
tree | d6df6793135096e002cabccf3040b53b9815823a | |
parent | 596ef3bc44f73b34aeb385fb94b29e9c22857614 [diff] |
vulncheck,vulndb/internal/audit: fix skipping load of local packages If a module had empty Dir, we would consider it a valid local dir. This resulted in skipping loading of such modules, which is incorrect. Change-Id: I71e965b521387d184bf790398ddacf05ef10ab65 Reviewed-on: https://go-review.googlesource.com/c/exp/+/370934 Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Roland Shoemaker <roland@golang.org> Trust: Zvonimir Pavlinovic <zpavlinovic@google.com>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.