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

Fixes #58000

Change-Id: I0e6abac76b76bc5d95b74b7e5b37634ce3f76c85
GitHub-Last-Rev: 11a62bfd7e
GitHub-Pull-Request: golang/go#61599
Reviewed-on: https://go-review.googlesource.com/c/go/+/513316
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
2023-09-13 13:59:01 +00:00
..
50102.txt archive/tar: add FileInfoNames interface 2023-08-07 00:25:25 +00:00
51246.txt syscall: add support to get pidfd from ForkExec on Linux 2023-09-07 19:11:15 +00:00
51971.txt net/http: add ServeFileFS, FileServerFS, NewFileTransportFS 2023-08-07 17:07:12 +00:00
53693.txt encoding: add AppendEncode and AppendDecode 2023-08-17 16:23:42 +00:00
54898.txt archive/zip: add AddFS method to zip Writer 2023-07-31 18:10:41 +00:00
56353.txt slices: add Concat 2023-08-08 14:31:39 +00:00
58000.txt archive/tar: add AddFS method to Writer 2023-09-13 13:59:01 +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
60370.txt database/sql: add Null[T] 2023-08-07 14:26:37 +00:00
61642.txt net/netip: add AddrPort.Compare and Prefix.Compare 2023-09-11 20:26:41 +00:00
61758.txt testing/slogtest: add Run to run cases as subtests 2023-09-08 20:37:12 +00:00
61974.txt debug/elf,cmd/link: add additional MIPS64 relocation type 2023-09-08 04:32:10 +00:00