1
0
mirror of https://github.com/golang/go synced 2024-11-17 19:25:13 -07:00
go/api/next
Mauri de Souza Meneguzzo 845fff35c6 archive/zip: add AddFS method to zip Writer
The method AddFS can be used to add the contents of a fs.FS filesystem
to a zip archive.
This method walks the directory tree starting at the root of the filesystem
and adds each file to the archive.

Fixes #54898

Change-Id: I80511cbd91a1d7e09ee52d2d1b09fb5eed25f45f
GitHub-Last-Rev: 1e17f2e6ba
GitHub-Pull-Request: golang/go#61602
Reviewed-on: https://go-review.googlesource.com/c/go/+/513438
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
2023-07-31 18:10:41 +00:00
..
54898.txt archive/zip: add AddFS method to zip Writer 2023-07-31 18:10:41 +00:00
59599.txt reflect: deprecate PtrTo 2023-07-27 23:28:51 +00:00
60061.txt go/ast: add Unparen(Expr) helper 2023-07-20 20:19:51 +00:00
60088.txt reflect: add TypeFor 2023-07-31 15:50:15 +00:00