diff options
author | Cherry Mui <cherryyz@google.com> | 2024-01-24 15:00:47 -0500 |
---|---|---|
committer | Cherry Mui <cherryyz@google.com> | 2024-01-24 20:54:27 +0000 |
commit | 5000b5168037d26a796da46a07088e834c3af1a0 (patch) | |
tree | 297ebe0ad244b896256fa7dc96aadd30c2f02784 /api | |
parent | 749ebaa4460af237f9facbc43af3e055802dc0be (diff) | |
download | go-5000b5168037d26a796da46a07088e834c3af1a0.tar.gz go-5000b5168037d26a796da46a07088e834c3af1a0.zip |
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 (via backport) #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>
Diffstat (limited to 'api')
-rw-r--r-- | api/go1.22.txt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/api/go1.22.txt b/api/go1.22.txt index 86eb80deaf..55f21857bc 100644 --- a/api/go1.22.txt +++ b/api/go1.22.txt @@ -1,13 +1,4 @@ pkg archive/tar, method (*Writer) AddFS(fs.FS) error #58000 -pkg archive/tar, type FileInfoNames interface { Gname, IsDir, ModTime, Mode, Name, Size, Sys, Uname } #50102 -pkg archive/tar, type FileInfoNames interface, Gname(int) (string, error) #50102 -pkg archive/tar, type FileInfoNames interface, IsDir() bool #50102 -pkg archive/tar, type FileInfoNames interface, ModTime() time.Time #50102 -pkg archive/tar, type FileInfoNames interface, Mode() fs.FileMode #50102 -pkg archive/tar, type FileInfoNames interface, Name() string #50102 -pkg archive/tar, type FileInfoNames interface, Size() int64 #50102 -pkg archive/tar, type FileInfoNames interface, Sys() interface{} #50102 -pkg archive/tar, type FileInfoNames interface, Uname(int) (string, error) #50102 pkg archive/zip, method (*Writer) AddFS(fs.FS) error #54898 pkg cmp, func Or[$0 comparable](...$0) $0 #60204 pkg crypto/x509, func OIDFromInts([]uint64) (OID, error) #60665 |