]> Cypherpunks repositories - gostls13.git/commit
cmd/go: extend the ignore directive for indexed modules
authorSam Thanawalla <samthanawalla@google.com>
Mon, 19 May 2025 16:49:57 +0000 (16:49 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 20 May 2025 15:17:44 +0000 (08:17 -0700)
commit693d8d920c57489f427c22162986bd6cef2550ae
tree4a0d4ee0a221c865bb3154ac1b6073eacdc69a54
parent7b91ec07eb2938f964579e20bef09e418c5091aa
cmd/go: extend the ignore directive for indexed modules

For modules that have already been indexed, we can skip ignored paths.
We already skip 'testdata' and '_' for this case so we can extend the
ignore directive for this case as well.

Updates: #42965
Change-Id: I076a242ba65c7b905b9dc65dcfb0a0247cbd68d6
Reviewed-on: https://go-review.googlesource.com/c/go/+/674076
Reviewed-by: Michael Matloob <matloob@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Auto-Submit: Sam Thanawalla <samthanawalla@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/internal/modload/search.go
src/cmd/go/testdata/mod/example.com_ignore_v1.0.0.txt [new file with mode: 0644]
src/cmd/go/testdata/script/list_ignore_modcache.txt [new file with mode: 0644]