mirror of
https://github.com/golang/go
synced 2024-09-29 01:24:34 -06:00
doc/go1.22: remove archive/tar.FileInfoNames
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>
This commit is contained in:
parent
5000b51680
commit
02a0927786
@ -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 -->
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user