]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.22] Revert "archive/tar: add FileInfoNames interface"
authorCherry Mui <cherryyz@google.com>
Wed, 24 Jan 2024 20:00:47 +0000 (15:00 -0500)
committerCherry Mui <cherryyz@google.com>
Wed, 24 Jan 2024 21:35:52 +0000 (21:35 +0000)
commit333ecd4b40a7c394366149ba3e87a519192836ce
treee2bb73db7cd5f706ed82707bb6351e47af8336ac
parent1e1da4910546d7ef7e256011f165cb6be1d56451
[release-branch.go1.22] Revert "archive/tar: add FileInfoNames interface"

This reverts CL 514235. Also reverts CL 518056 which is a followup
fix.

Reason for revert: Proposal #50102 defined an interface that is
too specific to UNIX-y systems and also didn't make much sense.
The proposal is un-accepted, and we'll revisit in Go 1.23.

Fixes #65245.
Updates #50102.

Change-Id: I41ba0ee286c1d893e6564a337e5d76418d19435d
Reviewed-on: https://go-review.googlesource.com/c/go/+/558295
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
(cherry picked from commit 5000b5168037d26a796da46a07088e834c3af1a0)
Reviewed-on: https://go-review.googlesource.com/c/go/+/558296
api/go1.22.txt
src/archive/tar/common.go
src/archive/tar/stat_unix.go
src/archive/tar/tar_test.go