]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.22: remove archive/tar.FileInfoNames
authorCherry Mui <cherryyz@google.com>
Wed, 24 Jan 2024 20:24:50 +0000 (15:24 -0500)
committerCherry Mui <cherryyz@google.com>
Wed, 24 Jan 2024 20:57:42 +0000 (20:57 +0000)
CL 514235 is reverted.

Updates #65245.
Updates #61422.

Change-Id: Ib5d2e16c982ab25c8a87af2bdaee8568446cf599
Reviewed-on: https://go-review.googlesource.com/c/go/+/557840
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
doc/go1.22.html

index b62412a33133f6d67047a17a245adad4017ee2d1..3b7ee62b27845a718e488421d6d8180a47bd791f 100644 (file)
@@ -424,10 +424,6 @@ We plan to include an API migration tool in a future release, likely Go 1.23.
     <p><!-- https://go.dev/issue/58000, CL 513316 -->
       The new method <a href="/pkg/archive/tar#Writer.AddFS"><code>Writer.AddFS</code></a> adds all of the files from an <a href="/pkg/io/fs#FS"><code>fs.FS</code></a> to the archive.
     </p>
-
-    <p><!-- https://go.dev/issue/50102, CL 514235 -->
-      If the argument to <a href="/pkg/archive/tar#FileInfoHeader"><code>FileInfoHeader</code></a> implements the new <a href="/pkg/archive/tar#FileInfoNames"><code>FileInfoNames</code></a> interface, then the interface methods will be used to set the UID/GID of the file header. This allows applications to override the default UID/GID resolution.
-    </p>
   </dd>
 </dl><!-- archive/tar -->