tools/txtar
Stavros Panakakis 5cb6eeba24 txtar: use slices.Clone instead of copy
Use slices.Clone instead of copy now that x/tools uses Go >= 1.22.
Resolves an outstanding TODO.

Change-Id: Ia87f18e5e51f35dda5056538b9d0d0699c514ffc
GitHub-Last-Rev: 468e40586d
GitHub-Pull-Request: golang/tools#523
Reviewed-on: https://go-review.googlesource.com/c/tools/+/613835
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
Reviewed-by: Tim King <taking@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-09-17 19:37:25 +00:00
..
archive.go tools: replace references to obsolete package ioutils 2023-09-12 20:13:37 +00:00
archive_test.go txtar/archive: ignore invalid file separators 2021-07-26 17:18:48 +00:00
fs.go txtar: use slices.Clone instead of copy 2024-09-17 19:37:25 +00:00
fs_test.go txtar: implement fs.FS 2024-07-19 17:32:15 +00:00