]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/fsys: refactor overlay consistency checks
authorRuss Cox <rsc@golang.org>
Sat, 16 Nov 2024 21:49:00 +0000 (16:49 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 19 Nov 2024 05:49:58 +0000 (05:49 +0000)
commit8f22369136b264567955fb86cff491c247b45b8b
treed4f06d4ee8f968324c3970b9f192439977b96c0a
parent8767a090d508e3f552dd8962a4f4c0b46ab70980
cmd/go/internal/fsys: refactor overlay consistency checks

Do the overlay consistency checks separate from constructing
the overlay data structure. This makes sure that the data structure
can be changed without worrying about losing the checks.

Change-Id: I9ff50cc366b5362adc5570f94e6caf646ddf5046
Reviewed-on: https://go-review.googlesource.com/c/go/+/628700
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/fsys/fsys.go
src/cmd/go/internal/fsys/fsys_test.go