tools/internal/drivertest
Tim King 12d2c3421a internal/testfiles: consolidate to CopyToTmp
Use the new txtar.FS function to consolidate API around fs.FS.
This has been simplified to two functions: ExtractTxtarFileToTmp,
and CopyToTmp. CopyToTmp is a combination replacement for CopyFS and
CopyDirToTmp. The main distinction is that it now takes an explicit
renaming map instead of implicitly removing ".test" extensions.

Updates golang/go#68408

Change-Id: I9558044ec4613835327c0b0a5e8d1cc8fe847d59
Reviewed-on: https://go-review.googlesource.com/c/tools/+/598996
Reviewed-by: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Tim King <taking@google.com>
2024-07-26 21:44:58 +00:00
..
driver.go go/packages: avoid unnecessary "realpath" on pwd 2024-05-31 19:15:03 +00:00
driver_test.go internal/testfiles: consolidate to CopyToTmp 2024-07-26 21:44:58 +00:00