From 5000b5168037d26a796da46a07088e834c3af1a0 Mon Sep 17 00:00:00 2001 From: Cherry Mui Date: Wed, 24 Jan 2024 15:00:47 -0500 Subject: 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 LUCI-TryBot-Result: Go LUCI Reviewed-by: Dmitri Shuralyov --- api/go1.22.txt | 9 --------- 1 file changed, 9 deletions(-) (limited to 'api') 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 -- cgit v1.2.3-54-g00ecf