You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new method <ahref="/pkg/archive/tar#Writer.AddFS"<code>Writer.AddFS</code></a> adds all of the files from an <ahref="/pkg/io/fs#FS"><code>fs.FS</code></a> to the archive.
If the argument to <ahref="/pkg/archive/tar#FileInfoHeader"><code>FileInfoHeader</code></a> implements the new <ahref="/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.
The new method <ahref="/pkg/archive/zip#Writer.AddFS"<code>Writer.AddFS</code></a> adds all of the files from an <ahref="/pkg/io/fs#FS"><code>fs.FS</code></a> to the archive.
0 commit comments