1
0
mirror of https://github.com/golang/go synced 2024-11-05 22:46:12 -07:00
go/internal/imports
Heschi Kreinick 6b3d1c9ba8 internal/imports: ignore invalid mod cache entries
If someone puts something silly in their module cache, ignore it instead
of crashing.

Fixes golang/go#34027.

Change-Id: I114e10010bd6bc483f865a628dc2b331c3a34a11
Reviewed-on: https://go-review.googlesource.com/c/tools/+/193268
Run-TryBot: Heschi Kreinick <heschi@google.com>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-09-05 17:34:53 +00:00
..
testdata/mod imports: rename to internal/imports 2019-05-20 21:49:35 +00:00
fix_test.go internal/imports: get candidate imports 2019-08-16 16:26:37 +00:00
fix.go internal/imports: get candidate imports 2019-08-16 16:26:37 +00:00
imports_test.go all: skip more memory-intensive tests on linux-arm 2019-08-30 17:05:41 +00:00
imports.go internal/imports: get candidate imports 2019-08-16 16:26:37 +00:00
mkindex.go imports: rename to internal/imports 2019-05-20 21:49:35 +00:00
mkstdlib.go imports: rename to internal/imports 2019-05-20 21:49:35 +00:00
mod_112_test.go imports: rename to internal/imports 2019-05-20 21:49:35 +00:00
mod_cache_test.go internal/imports: skip scanned module cache dirs 2019-08-29 21:03:13 +00:00
mod_cache.go internal/imports: skip scanned module cache dirs 2019-08-29 21:03:13 +00:00
mod_test.go internal/imports: ignore invalid mod cache entries 2019-09-05 17:34:53 +00:00
mod.go internal/imports: ignore invalid mod cache entries 2019-09-05 17:34:53 +00:00
proxy_112_test.go imports: rename to internal/imports 2019-05-20 21:49:35 +00:00
proxy_113_test.go imports: rename to internal/imports 2019-05-20 21:49:35 +00:00
sortimports.go internal/imports: merge import declarations 2019-08-14 23:54:02 +00:00
zstdlib.go imports: rename to internal/imports 2019-05-20 21:49:35 +00:00