diff --git a/doc/go1.22.html b/doc/go1.22.html index 3c67dee3bb52f4..fae37143666e1e 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -313,28 +313,20 @@

Minor changes to the library

archive/tar
-

- TODO: https://go.dev/issue/50102: add FileInfoNames interface +

+ The new method Writer.AddFS adds all of the files from an fs.FS to the archive.

-

- TODO: https://go.dev/issue/58000: add (*Writer).AddFS -

- -

- TODO: https://go.dev/cl/513316: archive/tar: add AddFS method to Writer; modified api/next/58000.txt -

- -

- TODO: https://go.dev/cl/514235: archive/tar: add FileInfoNames interface; modified api/next/50102.txt +

+ If the argument to FileInfoHeader implements the new FileInfoNames 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.

archive/zip
-

- TODO: https://go.dev/issue/54898: archive/zip: add (*Writer).AddFS +

+ The new method Writer.AddFS adds all of the files from an fs.FS to the archive.